How to find the functions called by another function
17 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
if any Matlab function is calling say 100 functions
Is there any short cut to find the functions called by a specific function? with out going through the entire code.
and any shortcut to find out the functions calling a specific function?
1 comentario
Kishor
el 20 de Ag. de 2011
you can check in reverse order.Place break point in function and then check call stack(use command dbstack) and you will get data in form of structure.
Respuestas (3)
Jan
el 20 de Ag. de 2011
2 comentarios
raym
el 21 de Jul. de 2017
Editada: raym
el 21 de Jul. de 2017
In a reverse way, if for a function, I want to make minor different resonse based on who calling it( the upper function),how to get the function name calling it? This is something like the function know if it is compiled by "x = isdeployed "
PA00
el 23 de Ag. de 2011
I would try using the profile function. You can either acess the Profiler under the Desktop (Desktop->Profiler) on the menu.
0 comentarios
Walter Roberson
el 20 de Ag. de 2011
See depfun()
The IDE (integrated development environment) has a specific menu item at the top to run the analysis of what is called.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!