use S-function
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hy, I have a script in matlab and need to put it in simulink, but i have dificulties using s-function Have an example? Thank you
0 comentarios
Respuesta aceptada
TAB
el 23 de Sept. de 2011
You can use 'Embedded MATLAB Function' block in your model for embedding MATLAB code with simulink. This block is available at
Simulink Library browser > User defined functions > 'Embedded MATLAB Function'
For help type
doc 'Embedded MATLAB Function'
on command window.
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!