Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
MCU 8051 IDE 1.4.7
Cuckoo Search (CS) Algorithm 1.0
MLM Software ONE 1.5.46
Wslay WebSocket Library 0.1.1
Recurring Payments Extension by Apptha 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
qwtpolar 1.0.1
iScripts PrintLogic 2.0
Hotel Management CRM 1.0
TIC TAC TOE AI GAME Script 1.1
Eclipse Java Project Creation Customizer 0.0.3
VideoWhisper 2 Way Video Chat 1.55
WinPoker 2.02
E-Cards with PHP & MySQL
Altavista Search Engine In Your Links Bar 1.II
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Example using a MATLAB Class to control a GUI 1.0
File ID: 83828






Example using a MATLAB Class to control a GUI 1.0
Download Example using a MATLAB Class to control a GUI 1.0http://upoint.info/cgi/Report Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 72
Submit Rating:
Example using a MATLAB Class to control a GUI 1.0 Description
Description: I've found, as my projects get bigger, it is easier to use a MATLAB class to control and manage a GUI instead of manipulating the standard Matlab gui mfiles.

I believe this style of GUI programming makes passing data around from different areas of gui much easier.

The functionality of this example is analogous to the built in Matlab example in GUIDE. This example is purely to show another way to solve the same problem. This example can be extended to many other applications.

Running command: gui_class_example()

%gui_class_example
%
% This exmaple shows how to use a MATLAB CLASSDEF to create, maintain, and
% destroy a gui.

% I chose to use one of the standard MATLAB guide default gui examples,
% this allows you to see the differences between the two methods.

% I prefer using classes to control gui's because as the project gets
% larger, I find it much easier to maintain, understand, and debug using a
% class bases sytem than using the traditional gui based system.

% Also, this method is great for passing data between elements of the gui.
% Since the class managed the gui, all gui elems are within memory scope of
% the class.

% Almost everything is the same between managing a gui through the gui
% mfile and a class. There are 2 main differences that I've noticed.

% 1. With the class based system, you do not need to store and set the
% guidata to obtain and pass data along

% 2. Cleanup is harder using the Class based system. There are 2 objects in
% memory, the gui itself and the class. These must be linked in some way
% that if one is closed or destroyed, the other is taken care of. I show
% one solution to this siutation here by adding a closerequestfcn to the
% figure. This function then calls the class's delete function to clean up
% the memory (preventing memory leaks).

License: Shareware

Related: Memory, elems, managed, scope, mfile

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 72



More Similar Code

HOWTO: Using a Java Class with Active Server Pages is an article which deals with step by step method that have to be adapted to utilize the java server objects in the ASP application. Here author explains this method with the help of examples and the sample codes. This is an useful tutorial for the ASP programmers and the web developers.



phpVIlib is a PHP class to remotely control VMWARE Virtual Infrastructure 2.x servers using the SOAP interface.



This function utilize the JAVA interface of MATLAB to add a splash screen to your GUI programs. To use splash.m, just call it in your GUI as you call most MATLAB in-line functions. You can control of the duration time and the image to be displayed.



Using the Image Acquisition and Image Processing Toolboxes, IMAQMOTION offers a MATLAB based motion detection GUI.


Using a video input object, live data is acquired and analyzed to calculate any motion between two adjacent image...



Data Manipulation Toolbox (dmtoolbox) is a MATLAB toolbox to facilitate the general programming using various data structures such as string, arrays, cell arrays and struct arrays. Despite that MATLAB has offered a series of builtin functions to...



MouseMotionHandler is a MATLAB class that uses a MATLAB figured-deOaos WindowButtonMotionFcn callback as a hook to extend button motion functionality to all handle graphics child objects of a figure including axes, lines, surfaces uipanels,...



post2pdf is a that convert a post to a pdf file using a pdf class based on fpdf library.

# Installation :

1. Upload to your plugins folder, usually wp-content/plugins/
2. Activate the plugin on the plugin screen
...



RB ReportPage is a RealBasic class to simplify generating reports. This project provides a GUI based layout method using the RealBasic IDE. Designed to support a single page printout this project is best suited for invoice style reports.



This is a web based article which will be helpful for the web developers to learn about the using the AutoGenerateColumns attribute to control column rendering. In this article the author clearly explains the sample code to the users. This is a...



Develop a Matlab program to demonstrate a neural network autoassociative memory. Show the importance of using the pseudoinverse in reducing cross correlation matrix errors. Show the performance of the autoassociative memory in noise. The results...

User Review for Example using a MATLAB Class to control a GUI
- required fields
     

Please enter text on the image