How to include a command in my main.m?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2019-4-28
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.
回答(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!