Info

此问题已关闭。 请重新打开它进行编辑或回答。

Error with initial states in S-Function

1 次查看(过去 30 天)
octus_ma
octus_ma 2017-6-20
关闭: MATLAB Answer Bot 2021-8-20
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

回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by