Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to check the value of a varriable of a subfunction?

1 visualización (últimos 30 días)
Shaila parvin
Shaila parvin el 24 de Jun. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I've a function that calls another function. I can debug the program but I can't check the value of any variable of the called function after debugging. It shows me error. How can I do it?

Respuestas (1)

David Sanchez
David Sanchez el 24 de Jun. de 2013
You can send the variable, from the local function, to the base workspace using assignin:
assignin('base', 'my_variable', Value_of_variable)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by