From: Ryan on 4 Mar 2010 10:24 I have a question regarding Real-Time Workshop. I have a Simulink model that is executed with an m-file using the 'sim' command. The m-file also contains 400+ parameter values for the Simulink model. I want to be able to compile the model into C by using RTW, but am looking for an easy way to import those parameter values into the mode--i.e. without manually entering each value. How can this be done? Thanks
From: Ralph Schleicher on 4 Mar 2010 15:14 "Ryan " <RMichael910(a)gmail.com> writes: You should fix your real name. > I have a question regarding Real-Time Workshop. I have a Simulink > model that is executed with an m-file using the 'sim' command. The > m-file also contains 400+ parameter values for the Simulink model. I > want to be able to compile the model into C by using RTW, but am > looking for an easy way to import those parameter values into the > mode--i.e. without manually entering each value. How can this be done? Read about the Rsim target and it's parameter tuning capabilities in the RTW documentation. -- Ralph Schleicher <http://ralph-schleicher.de> Development * Consulting * Training Mathematical Modeling and Simulation Software Tools
From: Ryan-Michael on 15 Mar 2010 11:11 Hi Ralph, Thanks for the advice. I was able to import all variables from the lookup table using rsim instead of grt. Cheers
|
Pages: 1 Prev: Playfair cipher help Next: Distance from image points to contour |