evalin('caller','mfilename') does not work.
Mostra commenti meno recenti
Risposta accettata
Più risposte (1)
Walter Roberson
il 13 Mag 2019
0 voti
"evalin('caller', expression) finds only variables in the caller's workspace; it does not find functions in the caller. For this reason, you cannot use evalin to construct a handle to a function that is defined in the caller."
If I recall correctly mfilename is implemented by defining a function in each file.
Categorie
Scopri di più su Integrate C Code Using C Caller Blocks in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!