MATLAB: Ask for parameters when running simulation

parameterssimulationsimulinkvariables

Hi, Is it possible to include a command so that everytime I simulate my model, It asks for some parameters to enter by keyboard and then simulates? For example if want to change certain parameters every time I simulate, what is the best option to do? Thanks for any help…..:)

Best Answer

  • Did you see the example in the help for inputdlg()? I think that might be exactly what you're looking for.
  • Related Question