필터 지우기
필터 지우기

"Insufficient number of outputs from right hand side of equal sign to satisfy assignment." in Simulink

조회 수: 6 (최근 30일)
I got the error above in Simulink and that is the part of the model that causes it.
The interpolation factor of the DUC is 100. The slx-file is attached
Thanks :)
  댓글 수: 11
Jan Van den Heuvel
Jan Van den Heuvel 2023년 8월 5일
Thank you @Daniel @Jon!
I tried switching to "Interpreted execution" but still get the same error.
Only got this meaningless output when trying to figure out my compiler configuration:
Running the .slx on a Linux-System worked for me.
Daniel
Daniel 2023년 8월 7일
That output just means you have no compilers installed. 0x1 is an empty matrix, basically. (No rows, 1 column, technically. No elements regardless.) So it makes sense that generated code wouldn't work; that interpreted execution wouldn't work is a little stranger. What toolboxes do you have installed? (Paste the output of ver)
Alternatively, at this point a support ticket might be best, especially if interpreted execution isn't working either. It looks like what you're trying to do should work, given that it does work for Jon and me, so it might easily be a configuration issue rather than an issue with the model itself.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jon
Jon 2023년 8월 4일
I found that if I changed the "Simulate using" parameter on the DUC from Code Generation to Interpreted execution, the model ran without errors. So, maybe there is a bug with the Code Generation, or somehow it is just fussier, and there is still an issue, it just doesn't surface with the Interpreted execution.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by