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)?

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.

 Réponse acceptée

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'])

Plus de réponses (0)

Catégories

En savoir plus sur Schedule Model Components dans Centre d'aide et File Exchange

Produits

Version

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by