Built-in functions variables not function arguments

1 view (last 30 days)
Hello!
Is it possible to get values of variables calculated in a built-in function (for exemple "classify") used in my matlab code?
If yes please how?
Thank you, appreciate your help!
  1 Comment
John D'Errico
John D'Errico on 10 Aug 2020
Do you want a built-in function to return some other variable than those it does return? While you could hack the code, that is almost always a bad idea.
Unless you know enough to have written the code yourself, then hacking supplied code is almost always going to be a source of likely future bugs. And if you could write it yourself, then you would and not have to ask the question. You could either compute what you want on the side, or write the code yourself anyway.

Sign in to comment.

Answers (0)

Categories

Find more on Variables 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!