Hello,
I wanted to ask if there is an option to add to the simulink s-function the initialization of algebraic variables since it seems that they are naturally initialized by 0 and this causes NaN error in my code.
Thanks
Hi,
indeed this is not implemented yet.
I think it would be better to just add a z initialization when creating the solver which would serve as a standard initialization for z when creating the solver and can also be used in reset
.
I marked this as a feature request.
Hello,
But this means I cannot use the s-function block since I cannot input an initialization for z? If I am mistaken which command should I use to predefine the z-initialization in the s-function?
Thanks