Hi, You can use the sim command along with set_param to run several iterations. If you have a 'To Workspace' block in your model you can change the name of the variable to which it is sending results using set_param. Similar for 'To file' also. Navan --- Sergio Dominguez <> wrote: > hi all! > > I guess this must be something pretty common, but I > cannot find it in the > manual! I have a model in simulink and I'd like to > run several experiments changing parameters, and to > store some variables in files with incremental names > according to te number of the simulation. Can I call > the variables something like > sprintf("var%i",i);?? > > Thanks! > > Sergio __________________________________________________ |
|