How can I change Matlab parameters in C++ in a Transferfunction
Ältere Kommentare anzeigen
Hi guys. I have a question concerning Simulink Parameters in Visual C++ Code. I work with version R2011b. I use a Transferfunction Block in my Model and I want to set the Parameters in C++ without having to compile a new Matlab model. My Block is called: "Transfer" the only corresponding Paramters I could find in the Matlab header file are Transfer_A and Transfer_C in struct Parameters . But I have no idea which values to set to this variables, yet that i have more than two Variables in the funciton.
I'm not sure if this is even possible by this name or if i have to set matlab variables e.g. 1/(x*s+y) and change these values in C++, but then again I wouldnt know how. I hope u do.
Greetings
Antworten (0)
Kategorien
Mehr zu Simulink 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!