Simulink unspecified data dimension
조회 수: 7 (최근 30일)
이전 댓글 표시
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1166208/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1166213/image.png)
댓글 수: 0
답변 (1개)
Fangjun Jiang
2022년 10월 24일
Open the MATLAB Function block Editor, click "Edit Data", specify the dimension (size) information of the output data "dist".
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!