Why Simulink matrix size and value is different from MATLAB Function block?

1 次查看(过去 30 天)
Why Simulink matrix size and value is different from MATLAB Function block?
I use the view report in Matlab Function to check the matrix. But its size and value are all different. It take another matrix's size and value. Who to fix this problem?
I want to solve ode problem. As you can see, in report the 'u' and 'W' will input into the function. But if I change to the function 'model_2'. The 'W' will disappear and the error is undefined it. Who to fix this problem?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by