MATLAB Answers

0

S function builder to Visual studio debugging

Asked by Lokesh Bhat on 16 Aug 2019
Latest activity Answered by Chidvi Modala on 28 Aug 2019
Hi
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
Lokesh

  0 Comments

Sign in to comment.

1 Answer

Answer by 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.

  0 Comments

Sign in to comment.