MEX-equivalent of INPUTNAME
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
Jan
2011 年 11 月 10 日
0 投票
You can use mexCallMATLAB to call FEVAL with the function handle as argument.
Perhaps somebody knows how to use mxFevalFunctionHandle?
カテゴリ
ヘルプ センター および File Exchange で Language Fundamentals についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!