use handles.variable in popupmenu

What I am doing is selecting a variable from a matlab data set I import and them doing some math on it. Once I do the math on that particular variable i them create a variable called [handles.variable].

What i am having an issue with is when i call the variable to put in a popupmenu

set(handles.popupmenu17,'String',handles.variable)

it returns the entire manipulated data set instead of the variable under the handles structure. All i simple want to populate the popupmenu with is "variable" for later use with an EVAL statement.

Thank you for any help this has been causing me a major headache!

Gene
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories