Effacer les filtres
Effacer les filtres

Code generation failed Incorrect number of right hand side elements in dot name assignment

1 vue (au cours des 30 derniers jours)
I´m trying to execute this function in MATLAB 2013a in a Matlab Function Block within a SIMULINK model.
function L=fcn(l0,b0,z0,F,Q,w,Emodul)
S=Emodul;
e0=8.854e-12;
er=3;
et=e0*er;
L=(b0*l0*S*z0);
end
I don´t know why but I get the following error:
"Code generation failed Incorrect number of right hand side elements in dot name assignment. Missing [] around left hand side is a likely cause. "
Could you help me?

Réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by