Running a batch process involving MatLab and Spotfire
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Gautam Mohan
le 4 Mai 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!
Réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!