Why do I receive a warning when I use the MODEL command in Simulink 6.2 (R14SP2)?

8 visualizaciones (últimos 30 días)
When I execute the following command at the MATLAB prompt:
f14
feval('f14',[],[],[],'lincompile');
[sizes,x0,xstr] = f14;
I receive the following warning message:
Warning: Model 'f14' is currently compiled for 'linmod' simulation type. The current compilation needs to be terminated before the model can be compiled for the speficed simulation type 'mdlapi'.
However, the warning is not produced while running the model using Simulink 6.1 (R14SP1).

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 2009
This bug has been fixed in Release 2006b (R2006b). For previous product releases, read below for any possible workarounds:
We have verified that there is a change in the behavior in Simulink 6.2 (R14SP2) in the way that the above warning is produced when using MODEL command.
To workaround the issue, you can safely ignore the warning or edit the line containing the MODEL command to include the command's last ('flag') argument as shown below:
f14
feval('f14',[],[],[],'lincompile');
[sizes,x0,xstr] = f14([],[],[],'compile');

Más respuestas (0)

Categorías

Más información sobre Block and Blockset Authoring en Help Center y File Exchange.

Productos


Versión

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by