I have simulink model with many parameters and I want to set thes parameters in M-file and then control them from the simulink model, for example by editing or clearing these parameters via block has link directly with the Mfile
Mostrar comentarios más antiguos
controllink the simulink model via block has link with mfile
Respuesta aceptada
Más respuestas (1)
Sumit Tandon
el 30 de Jul. de 2012
Editada: Sumit Tandon
el 30 de Jul. de 2012
0 votos
What is your requirement?
If you want to control model parameters, you could do that by declaring model parameters as variables in MATLAB base workspace and then control their values. See: http://www.mathworks.com/help/releases/R2012a/toolbox/simulink/ug/f13-82509.html
If you want to write signal values or some text to a MATLAB file, you could look at ways to create text file from Simulink model. See: http://www.mathworks.com/support/search_results.html?q=simulink+text+file
1 comentario
salem
el 31 de Jul. de 2012
Categorías
Más información sobre Simulink Functions 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!