How to open / step-in generic function in debug mode?
Show older comments
Hello,
by the phrase generic I mean a function that already exists within Matlab core software, such as finitedifferences that is used within validateFirstDerivatives - a helper function of fmincon (Optimisation toolbox).
The problem is that I need to check how software counts finite differences, and stepping into this function will help. However, when I create a breakpoint at an appropriate line and hit on step in button in debug mode, there is only white arrow indicating that debbuger did step into, but no tab with the function code appears. I can check finitedifferences call stack in debugger, but nothing more.
Is there a way to open such functions?
2 Comments
per isakson
on 4 Aug 2016
No, not by a user. finitedifferences comes in the form of p-code. See Building a Content Obscured Format with P-Code.
Paul
on 5 Aug 2016
Accepted Answer
More Answers (0)
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!