MATLAB Answers

S function builder to Visual studio debugging

14 views (last 30 days)
Lokesh Bhat
Lokesh Bhat on 16 Aug 2019
Answered: Chidvi Modala on 28 Aug 2019
We are trying to Debug S-function code using Visual studio.
We are using the method described in below link.
Please help us to create Environment.
Thank you

Answers (1)

Chidvi Modala
Chidvi Modala on 28 Aug 2019
In my understanding, you are having trouble while attaching MATLAB process in Visual Studio. I am assuming that you are using Visual Studio 2017.
From Visual Studio menu bar, select Debug>Attach to process
  1. In the Attach to process dialog box that opens, select Native Code in the Attach to list and select the MATLAB.exe process in the Available Processes list and click Attach. You should now be attached to the MATLAB process.

Community Treasure Hunt

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

Start Hunting!