this function does not fully set the dimensions of output port 2?
Mostra commenti meno recenti
i have attached pic when i run this file it gives me port erroe 2 i have tried all solutions available on internet ..
t
t4 Commenti
David K.
il 18 Set 2019
I've gotten this a lot as well. It generally means for me that there is some error in the function itself. If you take the function out of the simulink and try to run it with some random reasonable inputs, see if it gives you errors.
Ali Mukhtar
il 18 Set 2019
David K.
il 18 Set 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
il 18 Set 2019
Risposte (1)
Zahedd Zabadi
il 27 Ago 2021
0 voti
Categorie
Scopri di più su Sources in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!