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

4 views (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!