What is difference between mdlInitializeConditions and mdlStart?

Respuestas (1)

Dhaniklal
Dhaniklal el 18 de En. de 2023
Hi,
I understand that you would like to know the difference between mdlInitializeConditions and mdlStart and I assume that you know why these functions are used.
In terms of how and when these should be used, there would be a difference. Let's say your S-function is part of an enabled subsystem and needs to be reinitialized whenever the subsystem is enabled. Then use mdlInitializeConditions instead of mdlStart.
For more information, please follow the below links:
Hope this helps!
Thanks,
Dhaniklal

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Preguntada:

el 30 de Jul. de 2018

Respondida:

el 18 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by