Why do I get an error when compiling my Simulink model using "eval"?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 7 de Nov. de 2018
Respondida: MathWorks Support Team
el 24 de Abr. de 2019
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?
Respuesta aceptada
MathWorks Support Team
el 25 de Abr. de 2019
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Environment Customization en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!