Error in port widths or dimensions. Invalid dimension has been specified for input ' SFunction '.
Afficher commentaires plus anciens


Hello. Here in gain (180/pi) i've got trouble with this error of width or dimenssions. What kinda reason was that, and how can i fix it ?
Réponses (1)
Aditya Patil
le 17 Juil 2020
0 votes
You need to ensure that the various matrices you use are of appropriate shape, so that substraction is possible. For example, if diff(u) is of shape R x C, then m should be R x 1, or 1 x 1, or R x C.
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!