Is it possible to call matlab m files from TLC?
7 ビュー (過去 30 日間)
古いコメントを表示
Is it possible to call matlab m files from TLC? I have several Level 2 Simulink blocks that call matlab files, and I need to autogenerate C files from this. The program currently has LOTS of already created code written in Matlab, that we call from a level 2 simulink block.
0 件のコメント
回答 (1 件)
Mark McBroom
2019 年 12 月 29 日
Use the built-in TLC function FEVAL to run any MATLAB command, including a MATLAB function, from TLC. THis example calls the MATLAB sin() function.
%assign result = FEVAL("sin",3.14159)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Target Language Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!