Error with initial states in S-Function

Good day,
i have a problem with a S-Function in simulink. The S-Function is generated by a Simulink model, which has 721 initial states. After compiling the model, the S-Function expects an initial vector with 711 elements, so 10 Elements are missing. Where could the reason that the number of the dimension of the initial vector of the Simulink model does not match the S-function? About every little comment or help I would be grateful
Supplement: 10 of the discrete states are missing in the S-function

Respuestas (0)

La pregunta está cerrada.

Productos

Preguntada:

el 20 de Jun. de 2017

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by