Why do I get an error when compiling my Simulink model using "eval"?
조회 수: 1 (최근 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!