Info

This question is closed. Reopen it to edit or answer.

How can I provide some parameters to a function that is already defined in an m-file?

1 view (last 30 days)
I donwloaded learnmcint.m-file (<http://www.mathworks.com/matlabcentral/fileexchange/12447-mcint/content//learnmcint.m>) and added there my own function. Now I would like to execute learnmcint with some parametrs that I would like to provide this function with --> for example learnmcint(y). These parameter y should be used in one of the function that I defined in learnmcint.m-file but I get always the error, that these parameters are missing. Does anybody know how to provide the parameters on the right way? How should I modify the file to be able to provide the parameters? Thank you in advance! Best regards!

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!