How get the information whether a dependency function exist or not?
Mostra commenti meno recenti
The function "depfun" gives back all the dependency functions of a certain function. But if there is a typo in a sub function call, than this dependency function wont neither be detected nor there is an error message that these fuction doesn't exist.
How it's possible to check automatic whether all dependency functions exist, not doing this manual (i.e. exist) ...?
Risposte (1)
Vishal Rane
il 28 Ott 2013
Try this:
cellfun( @(x)(exist(x)), (depfun(your_file_name)))
1 Commento
Matti
il 28 Ott 2013
Categorie
Scopri di più su Characters and Strings in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!