How can I change Matlab parameters in C++ in a Transferfunction
Show older comments
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
Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!