set handles value to another variable name

hi, I am selecting a variable value from popup menu and I want to use it in different function, for example:
handles.V=20;
then I need to set it to a value, I can't get the reading, for example:
V=handles.V;
I need to use the variable V to do some calculation. please help.

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by