Why do multitasking fixed-step solvers not execute all block outputs when using the MODEL(t,x,u,'outputs') function in Simulink 6.2 (R14SP2)?

1 visualización (últimos 30 días)
I have selected a multitasking fixed step solver for a Simulink model and am calling the command MODEL(t,x,u,'outputs'), as specified in the Simulink documentation. This documentation can be accessed by typing the following command at the MATLAB 7.0.4 prompt:
web([docroot,'/toolbox/simulink/slref/model_01.html'])
However, only the outputs of the continuous blocks and blocks of the fundamental step size of the solver are executed. This means blocks of a different sample rate do not have their outputs executed.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 2009
The function MODEL(t,x,u,'outputs') should be used only when in single tasking mode. Single tasking mode refers to using a fixed-step solver in single tasking mode or a variable step solver that is defined as single tasking. For information on how to change a model's solver to single tasking, please type the following command at the MATLAB 7.0.4 (R14SP2) prompt:
web([docroot,'/toolbox/simulink/ug/simulation18.html#35866'])

Más respuestas (0)

Categorías

Más información sobre Schedule Model Components 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