Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7533455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:43:50+00:00 2026-05-30T05:43:50+00:00

I am trying to use the application TabPanel Constructor v2.8 . I have followed

  • 0

I am trying to use the application TabPanel Constructor v2.8. I have followed the instructions given with it. In the openingfcn of my gui I need to select one of the tabs. For it, I should use the tabselectionfcn which is adjunct with the mentioned application. This function has the following signature:

TABSELECTIONFCN(<hFig>,<TabTag>,<tabnumber>)
%     <hFig>      the handle(!) of the Figure (which contains the tabpanel)
%                 and not the name of the figure file.
%     <TabTag>    the Tag name of the tabpanel
%     <tabnumber> The number of the tabpanel or the tab string

When I research for the variable handles of my gui to find handles of the tabpanels, I do not see them. If I open the .fig file of my gui they do not appear, so I do not know what to do to overcome this problem.

P.D. I sent an email to the author of this application but I did not get answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:43:51+00:00Added an answer on May 30, 2026 at 5:43 am

    You don’t need tabpanel handle, but figure handle.

    The handle for figure created by GUIDE is hidde by default. Its visibility is controlled by figure property HandleVisibility, which is set to callback for GUI to protect them from command line user. The handle is visible from inside the callback function, like

    yourgui_OpeningFcn(hObject, eventdata, handles, varargin)
    

    where hObject is the handle you need. You can find all callback functions in the m-file associated with the fig-file.

    You can also get the handle from outside the GUI opening the FIG file as

    fh = openfig('yourgui.fig');
    

    Alternatively you can use FINDALL to find an object (including hidden) by its properties:

    fh = findall(0,'type','figure'); %# all open figures including GUIs
    fh = findall(0,'name','yourgui'); %# find by name
    

    Then you can control a tab with TABSELECTIONFCN:

    tabselectionfcn(fh,'myTab') %# get the tab status
    tabselectionfcn(fh,'myTab',2) %# activate the 2nd tab
    tabselectionfcn(fh,'myTab',1,'off') %# disable the 1nd tab (if not active)
    

    The tabpanel Tag name is the Tag property of the static text object you used as a placeholder while creating the tabpanel. You can find it if you open your GUI in GUIDE and inspect the tabpanel properties with Property Inspector. That will look like TBP_myTab.

    By the way, if you do need tabpanels handle you can get them also with FINDALL:

    htab = findall(fh,'tag','TBP_myTab');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to use the sdk without a canvas application, so have followed steps
I'm trying to use setControlledAccess in a WebWorks application. I need to download an
I'm trying to use the HttpListener class in a C# application to have a
Trying to use the getDependentRowset in a ZF application. I have the following relationship
I am trying to use a Java application (which I do not have the
I am trying to use Jcrop for my application, though I have run into
I am trying to use PRISM for my application. I have been following Mike
I am trying to use FIX::Application along with SessionSettings. The Fix server I am
I'm trying to use Simple Savant within my application, to use SimpleDB I currently
I'm trying to use JRuby in a custom application, and I don't seem to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.