Debug algorithm portion of S-function (Separated from S-function´s Simulink interface) with a tool different from MSFT Visual Studio 2022
Show older comments
Dear Community,
We are integrating external legacy C-Code with a Simulink Model using Matlab 2022b within Windows 10. For such integration we are calling the external C code from a S-Function or put it in another way we are using a wrapper S-Function (labeled in this way on the "Integrating C Code with Simulink" training documentation). With this in mind, I know that is possible to debug the external code during simulation using Microsoft Visual Studio 2022 as it is described in the following link:
However, in our particular case, unfortunately we can not acquire a Visual Studio license to debug the external C code in our model. Researching over the internet I found the following post from 2018:
where it is said that it is possible to debug the external c code with the Visual Studio Express now called Visual Studio community, however for enterprise customers, also it requires a license.
I am wondering, since the latter post is already almost 6 years old, if you can suggest another way to debug external C code with a open source/ license tool different from Visual Studio.
Thank you very much in advance
Answers (0)
Categories
Find more on Simulink 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!