Is it possible to run multiple MATLAB livescripts from a configuration file?
12 views (last 30 days)
Show older comments
I have multiple standard livescripts that I need to run against many datasets keeping the main advantage of livescripts (embeddeding their outputs within the file).
Previosuly, I thought about making a seperate script to call them all at once. However, it turns out that Run function can't embed the outputs of the live script if it run outside the live editor.
In Python, however; I can run any number of jupyter notebooks from a JSON configuration file with any parameters keeping their outputs. Is there any equiavlent solution for this in MATLAB?
3 Comments
Walter Roberson
on 29 Jun 2022
There is no documented way of doing that, at least none that I know of.
If you could run one livescript in LiveScript mode from the command line or .m file, then you could have a script that read from a configuration file to determine what input to load and which other scripts to call, and that would give you a way to run an arbitrary number of other LiveScripts in LiveScript mode, with the outputs for all of them put together in the same "live" output stream.
However, I am not aware at the moment of any way to launch even one Live Script in Live Script mode.
Answers (0)
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!