How to include a command in my main.m?
2 views (last 30 days)
Show older comments
I am submiting my matlab files in a server using linux. But I need to run some command lines when the server calls my main.m, how can I include this commands inside the main.m? This commands are: build mex and load('example workspace');
5 Comments
Walter Roberson
on 28 Apr 2019
The build given in that link is just a bunch of MATLAB code, and can be called from your main function.
It does require that MATLAB Coder be installed on the system it is running on, and perhaps that is the difficulty.
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!