Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

HELPPP --- function input is String which is name of another respective function

1 vue (au cours des 30 derniers jours)
Aydin Ahmadli
Aydin Ahmadli le 16 Nov 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
I want to implement function :
function m=matlab('learn')
%something here
end
Above, string of learn must be the name of respective function which is written in another matlab file .m | I have 2 problems
1) when I want to pass string of 'learn' as input to function, it throws error.how to handle this
2)if I solve problem 1., how can I call respective learn function from another matlab file?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by