Hola I have a simulink system with some parameters, i need to enter these parameters through a .m file (containing "sim" function).The problem is that sim function cant pick the parameters I put in the m file. how can i do this? Saludos |
|
Simulink and global variables
Started by ●July 4, 2003
Reply by ●July 6, 20032003-07-06
Hi, Simulink can take variables only from base workspace. You can use assignin command to assign your variables in base workspace or if they are not big arrays you can use set_param command to set the parameter values from your m file. Navan --- coutoxxx <> wrote: > Hola > > I have a simulink system with some parameters, i > need to enter these > parameters through a .m file (containing "sim" > function).The problem > is that sim function cant pick the parameters I put > in the m file. > how can i do this? > > Saludos __________________________________ |