Commit Graph

4 Commits (25121bca4f9c97fed28599e9f9adeba2028e5bd0)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 9300a061aa Fixed bug (appearing only with Matlab and legacy data interface) if the m data file is in the current directory.
If the m data file is in the current directory, the first output of
fileparts(options_.datafile) is an empty string. In Matlab the command
cd('') fails, but Octave does not fail in this case (and does nothing).

Added a test on the first output of fileparts, if this output is empty
we do not try to change the current directory.
2014-10-23 11:08:26 +02:00
Stéphane Adjemian (Karaba) 5ab08ed8d3 Added missing semi colon. 2014-10-21 16:37:57 +02:00
Stéphane Adjemian (Karaba) ca28a2b778 Fixed load_m_file_data_legacy.m.
An m file data was not loading if outside the current directory.
2014-10-21 16:05:34 +02:00
Stéphane Adjemian (Karaba) 63d3157267 Do not force the user to provide a clean m data file when using the legacy data interface.
Note that  all the variables  listed in varobs  need to have  the same
number of observations.
2014-10-20 17:28:35 +02:00