Matlab

Moderators: None (Apply to moderate this forum)
Number of threads: 1471
Number of posts: 2147

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
use handles.variable in popupmenu Posted by eawachte on 6 Oct 2012 at 10:23 AM
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



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.