Is there a function that will read the number and names of variables needed to run a function. I'm working on a brute force solution now that just opens the function as a text file and searches for the function declaration then reads the strings between the parenthesis.
2 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/104994-reading-the-required-variables-for-a-function#comment_178221
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/104994-reading-the-required-variables-for-a-function#comment_178221
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/104994-reading-the-required-variables-for-a-function#comment_178224
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/104994-reading-the-required-variables-for-a-function#comment_178224
Sign in to comment.