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

3 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by