How can I fix this Simulink error "This function does not fully set the dimensions of output port 2"

조회 수: 3 (최근 30일)
I am trying to simulate two differential equations with the following model pictured below.
When trying to run the model, I get the error "This function does not fully set the dimensions of output port 2" for the function block f2.
All signal dimensions seem to be in order. Also there is no output port 2 for the function block in question so I really don't understand the error message.
How can I fix this? The file is attached.

채택된 답변

Jan Jeske
Jan Jeske 2022년 6월 23일
I found the error. It was the way I used deal in the Matlab-Function blocks. Once I fixed this it worked.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by