variable size matrix error in matlab function block
Mostra commenti meno recenti
I use variable size 'w1' matrice in feedback loop with matlab function block. I configured the setting by opening up the Embedded MATLAB Editor, then, select Tools>Edit Data/Ports. Select the corresponding input and check "Variable-size" on the right panel. Also, enter [2 25] as the Size (this is used as the maximum size for variable-size signals).
Then exist this error
Expression '[2 25]' for maximum of data 'w1' (#113) must evaluate to a scalar.
How can solve this error ?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Sources in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!