From Matlab to Simulink (alternative to Embedded MATLAB Function)
이전 댓글 표시
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
Paulo Silva
2011년 2월 25일
Use Level-2 M-file S-Function
cyberdyne
2011년 2월 25일
Kaustubha Govind
2011년 2월 25일
S-functions can be written in MATLAB, C, C++ or FORTRAN languages.
답변 (1개)
Kaustubha Govind
2011년 2월 25일
2 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!