MATLAB Answers

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

1 view (last 30 days)
Anton Tworek
Anton Tworek on 9 Nov 2020
Answered: Kiran Felix Robert on 26 Mar 2021
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?

Answers (1)

Kiran Felix Robert
Kiran Felix Robert on 26 Mar 2021
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.

Community Treasure Hunt

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

Start Hunting!