×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

MATLAB GUI with more than 1 Window

MATLAB GUI with more than 1 Window

MATLAB GUI with more than 1 Window

(OP)
Hi,
 I have to develop a Matlab Gui with 3 together working windows.
 The user will have to browse between them all the time and choose different options which change the draws in the other 2 windows.
 Does somebody have an idea if and how does it function? In the Matlab Gui Tutorials I've seen, are only solutions with 1 main gui window and different plot windows.
 The Guide assistant offers also just solutions with one gui `.figĀ“ window.

:)

RE: MATLAB GUI with more than 1 Window

I have also been wondering that. The only way that I have thought of to do it doesn't seem like a good one but it will work.

The way i do it is to retrieve all my attributes and data from one gui and package it into the next gui using the userdata everytime I open the other window. when the other window needs to update something on the other one it closes the other one and opens a new instance of that gui with all the parameters set to what was in the userdata with some modified as desired. i.e. it starts the gui but sets the userdata and in the other gui's creation routine it retrieves the info from its userdata and sets all its attributes.

maybe set up a protocol between the three guis giving a "state" number to each of the combinations of attributes and then they can simply update each other by closing and opening in a particular state. appending any and all data to be passed onto the end of the state(not sure if that makes sense to you)

I don't think that this is a very efficient way to do this and it will take a while to get working properly provided it would even work in your situation.

If anyone else knows a way to do it I would be very interested to know how so please message me with the info too.

Tyrone

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources