How to couple Simulink and GT-Suite?
83 views (last 30 days)
Show older comments
Hey everyone,
I have a system model of a vehicle in GT and would like to implement a controller that is generated in Simulink.
I have never done this before. What add-ons do I need for this, Simulink Coder or Simulink Compiler? or do I need any add-ons at all?
Can someone write it down step by step how to do this?
Many thanks
0 Comments
Answers (1)
Sugandhi
on 15 Feb 2023
Hi,
I understand that you have a system model of a vehicle in GT and would like to implement a controller that is generated in Simulink, that is you want to couple Simulink and GT-SUITE.
Simulink can be connected to each of the GT-SUITE application domains to offer a versatile environment for researching and creating control solutions. The Simulink model can consist of control systems or any physical system that interacts with the GT-SUITE model. You can integrate using Functional Markup Unit (FMU), S-Function and many other techniques to integrate with custom C and C++ codes.
Simulink Coder is used to generate C and C++ Code from Simulink and State flow models. One can find Simulink Coder under Quick Start tool in Apps gallery. You can also go through Get Add-Ons and various apps that already present in Quick Start tool as per the requirement.
For more information on Simulink coder, S-Function and Functional Markup Unit, kindly go through the following links.
S-Function Examples - https://www.mathworks.com/help/simulink/sfg/s-function-examples.html?searchHighlight=s-function&s_tid=srchtitle_s-function_3
Simulink Coder - https://www.mathworks.com/help/rtw/gs/generate-code-by-using-simulink-coder-quick-start.html
0 Comments
See Also
Categories
Find more on Naming Conventions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!