Prev: speed up fwrite
Next: Cannot open "mclmcr.h"
From: ben harper on 17 Apr 2010 07:07 i have a function in m file. it uses inputs and calculates outputs for a control system. normally for mdl files, i use "trim" function to linearize my models. but i think trim can't be used for m files? what would you propose? Thanks in advance.
From: ben harper on 17 Apr 2010 08:22 "ben harper" <controlusc(a)gmail.com> wrote in message <hqc4or$4vv$1(a)fred.mathworks.com>... > i have a function in m file. > it uses inputs and calculates outputs for a control system. > > normally for mdl files, i use "trim" function to linearize my models. > but i think trim can't be used for m files? > what would you propose? > > Thanks in advance. my function is like this: [output]= myfuntion (states, inputs) output1=states(1)+inputs(1)*2 output2=states(2)+inputs(2)*2 i change inputs to obtain desired states and outputs
|
Pages: 1 Prev: speed up fwrite Next: Cannot open "mclmcr.h" |