top of page

Join Our Mission

My name is Alex Geiger specializing in machine learning at the Rochester Institute of Technology. I have the vision to create a GUI control system capable of supporting multiple pages, refined interactive controls, and graphs to optimize visual data analytics. Donate today to help fund our project.

How To Create & Use a Table

 Creating a table using the Modern GUI toolbox is simple and easy. To Create a table use the funTableo function:

 

[handles,hObject] = funTableo(handles,hObject,Tag,Position,Col)

 

 

Load data into Table: To load a data table first create a Table and use the funTableo function and the keyword 'load':

 

handles = funTableo('load',handles,Tag,Table)

 

Set callback: Setting a callback is easy. Click Here to see how to create a callback function Link Here. Once you have created your function send the function name to funTableo using the keyword 'callback':

 

handles = funTableo('callback',handles,Tag,FunName)

 

Get Table Info: To determine which row and column have been selected or which field the table has been sorted by, use the keyword 'last':

[handles,hObject] = funTableo('Last',handles,Tag)

Change Visibility: To change the visibility of a table you may use the keyword 'visible' in the funTableo function. 

 

[handles,hObject] = funTableo('visible',handles,Tag,Visibility)

Help Us Reach Our Goals

We Do it For You

Definitions

Tag - The field name of the table created in the handle structure

position - [left, bottom, width, height] must be normalized

Col - The number of columns present in table

Visible - logical data type true for visible false for invisible

Table - data type table

FunName - The name of the function, you wish to call. The inputs to the function must include tag, handles & hObject. The outputs must only handle &  hObject outputs.

How To Create & Use a Menu

Creating a Menu: using the Modern GUI toolbox is simple and easy. To Create a table use the funMenuo function:

 

[handles,hObject] = funMenuo(handles,hObject,Tag,Position)

 

Build the Interface: to import the nodes of an interface using the keyword 'Build'. 

 

[handles,hObject] = funMenuo('Build',handles,Tag,Nodes)

 

Get Menu Info: To determine which menu element has been selected by using the keyword 'last':

 

[handles,hObject] = funMenuo('Last',handles,Tag)

 

Change Visibility: To change the visibility of a table you may use the keyword 'visible' in the funMenuo function. 

note: if the visibility is not specified it will switch to the opposite of the current visibility.

 

[handles,hObject] = funMenuo('visible',handles,Tag,Visibility)

 

Get Menu Info: To determine which menu element has been selected by using the keyword 'last':

 

[handles,hObject] = funMenuo('Last',handles,Tag)

 

 

Set callback: Setting a callback is easy. Click Here to see how to create a callback function Link Here. Once you have created your function send the function name to funMenuo using the keyword 'callback':

 

 

handles = funMenuo(callback',handles,Tag,FunName)

 

Definitions

Tag - The field name of the menu created in the handle structure

Nodes - Structures which contain the information to create the menu elements

position - [left, bottom, width, height] must be normalized

FunName - The name of the function, you wish to call. The inputs to the function must include tag, handles & hObject. The outputs must only handle &  hObject outputs.

 

 

Create Button Wheel: To create a toggle wheel button, you may use the funWheelo function. Note: the Flds (Fields) variable is a cell string vector.

 

[handles,hObject] = funWheelo(handles,hObject,Tag,Pos,Flds)

 

 

Set callback: Setting a callback is easy. Click Here to see how to create a callback function Link Here. Once you have created your function send the function name to funTableo using the keyword 'callback':

 

handles = funTableo('callback',handles,Tag,FunName)

 

 

Get Wheel Info: To determine which field in the toggle button wheel was selected the last use the keyword 'last':

 

[handles,hObject] = funTableo('Last',handles,Tag)

 

Help Us Reach Our Goals

We Do it For You

Definitions

Tag - The field name of the wheel object created in the handle structure

pos - [left, bottom, width, height] must be normalized

Flds- The Fields variable is a cell string vector

FunName - The name of the function, you wish to call. The inputs to the function must include tag, handles & hObject. The outputs must only handle &  hObject outputs.

Rotating Toggle Wheel

How To Create and Use Buttons

Definitions

Tag - The field name of the wheel object created in the handle structure

pos - [left, bottom, width, height] must be normalized

FunName - The name of the function, you wish to call. The inputs to the function must include tag, handles & hObject. The outputs must only handle &  hObject outputs.

Struct - Struct contains all the properties to create a beautiful button. These include color, callback, position, tag and more.

Create a General Button: To create a button you must first generate the structure enclosed in a cell datatype. with the build button function. Once you have created the structure you may pass it to the function funButtono:

 

[handles,hObject] = funButtono(handles,hObject,Tag,Pos,Struct)

 

 

Set callback: Setting a callback is easy. Click Here to see how to create a callback function Link Here. Once you have created your function send the function name to funButtono using the keyword 'callback':

 

handles = funButtono('callback',handles,Tag,FunName)

 

 

Get Table Info: To determine which field in the toggle button wheel was selected the last use the keyword 'last':

 

[handles,hObject] = funButtono('Last',handles,Tag)

 

 

Create a Callback Function

Create a Callback Function

Create The Function: Open a function and name whatever name you want in this example let's call it anyName:

 

function [...,...]= anyName(...,...)

                                               

end                                          

 

Setup Inputs & Outputs: The outputs must be set to [handles, hObject]. The inputs may be any length but must end in Tag, handles, hObject below is a general example of the function anyName we created above:

 

 

function [handles,hObject]= anyName(in1,in2,...,inn,Tag,handles,hObject)

                                                                                                         

end                                                                                                    

Create Callback
bottom of page