Simulink and Embeded Matlab Function
Ältere Kommentare anzeigen
Hi, I have a question about working with Embeded Matlab function block in simulink. why this block cant figure out matrix input? for example i wrote a function in this block in the following: function [ y_hat] = fcn(u1, u2, u3, u4, u5, y, P, teta) which size of teta is 4*1 and size of P is 4*4, but when i run my simulink file,matlab thinks that P and teta size are 1*1 Would you pls tell me, how can i cope with it?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
