Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
uli man
uli man am 14 Jul. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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!

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by