MEX-equivalent of INPUTNAME
Ältere Kommentare anzeigen
All,
Is there a way, within a mexFunction, of retrieving the actual name of (the caller's) argument passed as one of the prhs parameters? Or, in other words, is there a way in MEX to do the equivalent of the inputname function as in
function f(a)
fprintf('Formal parameter ''a'' is called ''%s''\n', ...
inputname(1))
end
Akzeptierte Antwort
Weitere Antworten (1)
Jan
am 10 Nov. 2011
0 Stimmen
You can use mexCallMATLAB to call FEVAL with the function handle as argument.
Perhaps somebody knows how to use mxFevalFunctionHandle?
1 Kommentar
Bård Skaflestad
am 11 Nov. 2011
Kategorien
Mehr zu Language Fundamentals finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!