Generate code from .rtw file
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I have file .rtw from model. Is possible to generate code from them or I must generate code only from model (Build Model)?
Thanks,
Vit
0 件のコメント
回答 (1 件)
Abhilash Padma
2019 年 7 月 29 日
Hi,
Yes, it is possible to generate code from .rtw file. You can use the rtwbuild() function and pass the name of the rtw file as an argument to this function to generate code.
5 件のコメント
Nick Sarnie
2019 年 8 月 10 日
編集済み: Nick Sarnie
2019 年 8 月 15 日
Hi Vit,
The RTW file is not sufficient for complete code generation. The RTW file contains information about the model's properties, settings, and modeling style, but does not contain any algorithm or block code. The TLC compiler combines information in the RTW file with the algorithm code in TLC files to produce the final code.
Thanks,
Nick
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!