I am trying to find a variable which appears in the workspace and is used as an input to a function in the code. How can I find how and where is it defined?

7 visualizaciones (últimos 30 días)
I have got a code in which I cannot find where a variable is defined. It is used as an input in one of the functions but I cannot find where is it defined in the code.

Respuestas (1)

Star Strider
Star Strider el 14 de Nov. de 2018
If you are using the MATLAB Editor, in the ‘NAVIGATE’ tab in the top toolstrip, click on ‘Find’. Go to the beginning of your script, enter the name of the variable, and go from there.

Categorías

Más información sobre Variables en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by