Ask for parameters when running simulation
Mostrar comentarios más antiguos
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.....:)
Respuesta aceptada
Más respuestas (1)
Mahnaz Pariyan
el 5 de Dic. de 2013
Using command "input" will ask the user to enter the value by keyboard, for example:
m1 = input ('enter m1: ');
and write the other parts of your program based on this variable (m1).
1 comentario
Anuj
el 5 de Dic. de 2013
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!