Why do I get an error when compiling my Simulink model using "eval"?
12 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2018 年 11 月 7 日
回答済み: MathWorks Support Team
2019 年 4 月 24 日
When I run the following command:
>> eval([FileName '([], [], [], ''compile'')'])
Where FileName is a a Simulink model file name, I get the following error:
Error in 'MyModel':
Initialization commands cannot be evaluated.
Caused by:
Too many input arguments.
When I run this command on another system, I do not get this error. How can I solve this?
採用された回答
MathWorks Support Team
2019 年 4 月 25 日
Try regenerating your MATLAB preferences or copying the matlab.prf file from another machine. Please refer to the following link for regenerating your preferences:
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulink Environment Customization についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!