Info

This question is closed. Reopen it to edit or answer.

Error with initial states in S-Function

1 view (last 30 days)
octus_ma
octus_ma on 20 Jun 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!