1
\$\begingroup\$

Consider that I have built an electrical circuit, or a power system or any other at Simulink and to do simulations, Simulink should work in the sense that it builds a state space model of the system, right? If that is the case, is it possible to set an initial condition of this model? And more, is it possible to know what are the state variables of the model built by Simulink?

\$\endgroup\$
1
\$\begingroup\$

You can use set_param to initialize your blocks

Usage: set_param('model_name/system_name/subsystem_name/.../block_name', 'parameter', 'value')

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.