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

3 Ansichten (letzte 30 Tage)
Alecsander Eitan
Alecsander Eitan am 15 Jul. 2014
Kommentiert: Geoff Hayes am 15 Jul. 2014
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 Kommentar
Geoff Hayes
Geoff Hayes am 15 Jul. 2014
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Automotive Applications finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by