Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#245 Please add a run() function

open
nobody
None
5
2012-03-08
2012-03-08
Anonymous
No

MATLAB provides a function run(scriptname) for running scripts whose path is specified by a variable (see: http://www.mathworks.co.uk/help/techdoc/ref/run.html ). This is useful, for example, when you want to iterate over the FreeMat/MATLAB scripts in a directory and execute all/some of them. I often need to do things like this when I write programs in another language that generate some data that I want to plot/analyse in MATLAB. The most convenient way to pass this data to MATLAB is often to write code in the other language that generates MATLAB scripts with the data stored in matrices/vectors, as this has the benefit of the data being both MATLAB-readable and human-readable. Please add support for run().

Discussion