Can I use RUN() command when main code is in deployed mode?

조회 수: 2 (최근 30일)
Alecsander Eitan
Alecsander Eitan 2014년 7월 15일
댓글: Geoff Hayes 2014년 7월 15일
I have a large simulation that is configured by a matlaf script function. This simulation after starts running, execute the additional configuration by run('config.m'). Since I would like to compile the entier simulation and run it in deployed mode, I would like to know if this will run. Please note that the 'config.m' file includes simple Matlab code without function calls.
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2014년 7월 15일
Have you included 'config.m' as an additional file to your app? What happens when you do so?
What is your rationale behind using run('config.m')? Is it because your m file is not in the MATLAB path? If that is the case, then consider putting this file in some folder of the MATLAB search path and avoid the call to run altogether.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by