[mcstas-users] mcstas Matlab output
Peter Kjær Willendrup
pkwi at fysik.dtu.dk
Wed Jul 10 15:51:50 CEST 2013
Hi Rob,
Thanks for reporting this, will see what can be done about this!
Is it correctly understood that you see this when using mcplot (Matlab) from mcgui?
Best,
Peter
On Jul 10, 2013, at 13:29 , <robert.dalgliesh at stfc.ac.uk<mailto:robert.dalgliesh at stfc.ac.uk>>
wrote:
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.
_______________________________________________
mcstas-users mailing list
mcstas-users at mcstas.org<mailto:mcstas-users at mcstas.org>
http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
Peter Kjær Willendrup
Senior Research Engineer, Special Advisor
DTU Physics
Technical University of Denmark
[cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk]
Department of Physics
Neutrons and X-rays for Materials Physics
Fysikvej
Building 307
DK-2800 Kongens Lyngby
Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20130710/05eaca32/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20130710/05eaca32/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20130710/05eaca32/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nexmap.jpg
Type: image/jpeg
Size: 10708 bytes
Desc: nexmap.jpg
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20130710/05eaca32/attachment.jpg>
More information about the mcstas-users
mailing list