[mcstas-users] mcstas Matlab output

robert.dalgliesh at stfc.ac.uk robert.dalgliesh at stfc.ac.uk
Wed Jul 10 14:29:12 CEST 2013


Hi,
I've discovered a reasonably large problem with the mcstas-2.0 option to create directories for output with long paths.

Matlab has a limit of 63 characters for variable names. The way that the variables get constructed in the mcstas.m file then breaks with a relatively short path.

e.g. /home/user/instrument/with_sample/with_sample_date_time               etc. etc.

This results in truncation of the variable names.

My guess is that the mcstas.m script needs to be modified to shorten the variable name stored in the ans.mc_detector
Structure.

Not sure where the stuff that builds the output is located though

Rob

===================================
Dr. Robert Dalgliesh
ISIS
STFC Rutherford Appleton Laboratory
R3 1.29
Harwell Oxford
Didcot
OX11 0QX
Office Tel: +44 (0) 1235 445687 or OffSpec Instrument: +44 (0) 1235 567045
Internal Mobile Extension: 1176
e-mail: robert.dalgliesh at stfc.ac.uk<mailto:robert.dalgliesh at stfc.ac.uk>


-- 
Scanned by iCritical.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20130710/85f884d0/attachment.html>


More information about the mcstas-users mailing list