Running a batch process involving MatLab and Spotfire
1 view (last 30 days)
Show older comments
How do I run a batch process involving MatLab and Spotfire? I.e. can MatLab call a Spotfire "executable" ("push approach") or can Spotfire call a MatLab "executable" ("pull" approach)
1 Comment
Gautam Mohan
on 4 May 2016
Hi Michel,
MATLAB can run external executables using the "!" operator. More information can be found here:
http://www.mathworks.com/help/matlab/matlab_external/run-external-commands-scripts-and-programs.html
Furthermore, MATLAB can be called from the command prompt using the 'matlab' function. The documentation I am linking to is for calling it on a Windows machine, but the process is extremely similar for Mac and Linux platforms:
If you want to execute statements or a script in MATLAB from the command line, us the '-r' flag followed by a string of MATLAB code, and that code will be evaluated by MATLAB from the command line.
I hope this helps!
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!