Variable-Sized Output from MATLAB Function block in Simulink
古いコメントを表示
I got this problem. I hope you guys can help me. Thanks. I want to see the output signal using Scope through Mux but this comes out.
Simulink cannot propagate the variable-size mode from the output port 1 of 'BA/MATLAB Function' to the input port 1 of 'BA/Mux'. This input port expects a fixed-size mode. The variable-size mode originates from 'BA/MATLAB Function/ SFunction '. Examine the configurations of 'BA/Mux' for one of the following scenarios: 1) the block does not support variable-size signals; 2) the block supports variable-size signals but needs to be configured for them.
I have tried directly connect the output to the Scope, but Simulink says that
"Computed maximum size of the output of function 'colon' is not bounded. Static memory allocation requires all sizes to be bounded. The computed size is [1 x :?]."
You can find my code in attachment
4 件のコメント
Dimitris Iliou
2017 年 6 月 16 日
It would be useful if you could share your model.
Kevin Jasutyn
2017 年 6 月 20 日
Cam Salzberger
2017 年 6 月 20 日
Hello Kevin, I think Dimitris meant the actual Simulink model. Since the issue is the interface between the MATLAB function block and the scope, the cause is probably in the setup of the model itself.
Kevin Jasutyn
2017 年 6 月 20 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Interactive Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!