this function does not fully set the dimensions of output port 2?

2 Ansichten (letzte 30 Tage)
Ali Mukhtar
Ali Mukhtar am 18 Sep. 2019
Beantwortet: Zahedd Zabadi am 27 Aug. 2021
i have attached pic when i run this file it gives me port erroe 2 i have tried all solutions available on internet ..t
  4 Kommentare
David K.
David K. am 18 Sep. 2019
I assume that the problematic block is a matlab function block. Copy the code and put it into a .m file. Then run the problematic function with some test inputs. I expect it will throw an error which will be more descriptive than just port error. Fix whatever the errors are and then try to run the simulink again.
Ali Mukhtar
Ali Mukhtar am 18 Sep. 2019
yeah it worked. great man thanks.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Zahedd Zabadi
Zahedd Zabadi am 27 Aug. 2021

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by