Thread Subject: Compile uitabpanel GUI

Subject: Compile uitabpanel GUI

From: Screwdriver223

Date: 2 Nov, 2007 22:45:18

Message: 1 of 2

Hi

I have a GUI which uses uitabpanel (available from the file
exchange). The GUI runs fine from the MATLAB command prompt
(R2007B). However, when I compile it and then run the executable I
get the following error:

??? Error using ==> uipanel
An object and its uicontextmenu must be in the same figure.

Error in ==> uitabpanel at 130

Error in ==> sticsgui at 35

This is frustrating to troubleshoot since I cannot reproduce it from
within MATLAB. Anyone have any ideas for possible solutions or
workarounds?

Thanks,
Dave

Subject: Compile uitabpanel GUI

From: Screwdriver223

Date: 5 Nov, 2007 23:05:42

Message: 2 of 2

On Nov 2, 5:45 pm, Screwdriver223 <david.ko...@gmail.com> wrote:
SNIP> uitabpanel complains in compiled GUIs

If anyone else has the same problem, I avoided it by removing all
references to the uicontextmenu (cmenu) in uitabpanel.m. The compiled
program now runs fine. Of course, there is no context menu on the tab
panel, but it was never really necessary. I still don't know why it
would only throw an error when compiled, but not when run from MATLAB.

Dave

Tags for this Thread

Everyone's Tags:

gui

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
gui Ned Gulley 5 Nov, 2007 21:03:51
rssFeed for this Thread

Contact us at files@mathworks.com