Running a batch process involving MatLab and Spotfire
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Gautam Mohan
2016-5-4
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!
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!