TLC File Level-2 MATLAB S-function

1 回表示 (過去 30 日間)
Simon Assfalg
Simon Assfalg 2016 年 2 月 8 日
I got a Problem with writing a TLC-File of a Level-2 MATLAB S-function.
I wrote the .m File for the S-function and started the Simulink Model with the Run Button. So far all works well. But now I want to transfer the Model to my Beaglebone Black, so I have to write a TLC File. I looked at the timestwo.tlc example to get Basics in writing an TLC File. In this example is in the TLC File and in the .m File for the S-function the input multiplied by two and transferred to the output. Now my question is if there is a way to get the Values direct from the Simulink Block without implementing the functionality a second time in the TLC File?
Such as:
output_tlc = output_simulink_block
I hope you can understand my Question :-)
Thanks for your Help

回答 (0 件)

カテゴリ

Help Center および File ExchangeTarget Language Compiler についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by