Can you run a Simulink Desktop Real Time model with a different system target file (e.g. TwinCAT.tlc)(SLDRT, TwinCAT)?

3 ビュー (過去 30 日間)
I am trying to run a SLDRT application with TwinCAT. For the SLDRT to work, I need to change the System Target File to sldrt.tlc, but for TwinCAT to work with Simulink, the TwinCAT.tlc file is needed.
Is there a way to get the SLDRT to work with TwinCAT?

回答 (1 件)

Kiran Felix Robert
Kiran Felix Robert 2021 年 3 月 26 日
Hi Anton,
Refer this link know more about changing the code-generation target Files.
The Simulink Desktop Real Time automatically sets the Code Generation target to be sldrt.tlc – Refer this documentation on Prepare for Real-Time Execution.

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by