Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.335.400 Times

Example using a MATLAB Class to control a GUI 1.0

  Date Added: July 13, 2013  |  Visits: 438

Example using a MATLAB Class to control a GUI

Report Broken Link
Printer Friendly Version


Product Homepage
Download (45 downloads)



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).

Requirements: No special requirements
Platforms: Matlab
Keyword: Elems Managed Memory Mfile Scope
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


EXAMPLE USING A MATLAB CLASS TO CONTROL A GUI RELATED
Multimedia  -  MATLAB Memory Monitor 2.4
"Memory Monitor" displays runtime memory information like available RAM, JAVA memory ressources, size of the page file and MATLAB specific values like count of the handles graphics objects, count of M-File in Memory, available RAM and largest...
20.48 KB  
Libraries  -  Smieciuch++ 0.6.4 RC3
Smieciuch library is a precise (in case of C++) or nearly precise (in case of plain C) tracing garbage collector. Tracing means that GC scans memory for active pointers and traces all paths (consisting of possibly multiple pointer indirections)...
 
Programming  -  Nimrod 0.8.10
Nimrod is a new statically typed, imperative programming language, that supports procedural, object oriented, functional and generic programming styles while remaining simple and efficient. A special feature that Nimrod inherited from Lisp is that...
10.2 MB  
Computer Information Databases  -  Memory Database System Demo 1.0
This demo shows you the performance of the memory database system of the database engine developed by MemDB.
400 KB  
Mind Games  -  Concentration - the Memory Games 4.1
Concentration - the Memory Games is a full featured memory game of the card pair flipping style that combines tradition and innovation. Played by a single player against the clock and high score table, or against human or computer opponents,...
2.29 MB  
RAM Tools  -  Memory Zipper Plus 6.01
Increases RAM for applications and the operating system.Defrags system memory.Comes with CPU Cooler to save power.Recovers unused RAM from Windows.Repair memory leaks, and avoids crashes, system hangup and blue screens.Performance tune up with...
770 KB  
Classic Games  -  PROcessu Memory Game 2.0
The PROcessu Memory Game 2.0 is more than a memory game. Beyond you being able to play alone, against a friend or a computer, on an 8x5 (40 tiles) grid, you can associate text and sound to the images that are shown in the tiles. So this program...
9.18 MB  
Teaching Tools  -  Memory Skills 1.3
Memory Skills for Improving Comprehension (c) is a fully-interactive multimedia lesson that explains the human memory system and employs useful strategies for recalling difficult text. Clearly written and provocative, Memory Skills includes...
3.4 MB  
ActiveX Components  -  Memory Status ActiveX Control 1.00
Memory Status is an ActiveX Control, lets you know immediately the status of memory on your target pc. You can determine if there is enough memory for your application. You can use this control to free memory no longer used by Windows .You...
67 KB  
Puzzles  -  Memory for The Beatles 2.01
Improve your memory skills with The Beatles! There are 20 pairs of hidden, selected randomly Beatles' album covers on the board. Your target: to find out the identical album covers using the less possible shots and seconds.
1.3 MB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB