Simulink unspecified data dimension

I keep having this error in Simulink with underspecified signal dimension of a variable in a Matlab function block. It only happens when the entire system is a bit more complex. I suspect it was caused by the different processing time of many blocks in the system. Or it maybe entirely different. Anyway, I have no idea how to solve this and really hope someone can help. Thanks!

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2022 年 10 月 24 日

0 投票

Open the MATLAB Function block Editor, click "Edit Data", specify the dimension (size) information of the output data "dist".

カテゴリ

質問済み:

2022 年 10 月 23 日

回答済み:

2022 年 10 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by