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

1 次查看(过去 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 CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by