From Matlab to Simulink (alternative to Embedded MATLAB Function)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
There is a way to take out m-file elaborations from MATLAB editor and put them in Simulink model (and so to simulink blocks) instead of make an Embedded MATLAB Function ?
Thanks
3 comentarios
Kaustubha Govind
el 25 de Feb. de 2011
S-functions can be written in MATLAB, C, C++ or FORTRAN languages.
Respuestas (1)
Kaustubha Govind
el 25 de Feb. de 2011
However, if you want to generate code:
- MATLAB Fcn blocks are not supported
- Level-2 MATLAB S-functions require you to provide a TLC file
- Embedded MATLAB blocks are supported for code-generation, as long as you use supported language constructs.
0 comentarios
Ver también
Categorías
Más información sobre Block and Blockset Authoring 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!