0

I am using MATLAB_R2023b. I have wrote a Python script which is called from Matlab files. I want to debug the Python script. I have tried logging information using print statements in Python but that is not the preferred way to debug as I have to do a lot of work. I wanted to know if there are any work arounds like using visual studio code or other IDE for the same. I am using MACOS, now that Visual Studio is retiring for MACOS how should one go about debugging it?

I tried PDB for breakpoints in python but it did't help. I have tried the below solution but it didn't work Calling Python from Matlab - how to debug Python code?

4
  • you can debug the python code in any IDE (actually an editor) like VScode. But where is the code ? Commented Jan 21, 2024 at 22:11
  • Please provide enough code so others can better understand or reproduce the problem. Commented Jan 22, 2024 at 9:39
  • Related: 1: Requires Visual Studio, 2: Unanswered Commented Jan 22, 2024 at 10:27
  • Have you seen this MATLAB Answers post? Commented Jan 23, 2024 at 9:52

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.