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.

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by