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

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

Serving Software Downloads in 976 Categories, Downloaded 29.635.732 Times

Example using a MATLAB Class to control a GUI 1.0

  Date Added: July 13, 2013  |  Visits: 217

Example using a MATLAB Class to control a GUI

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 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  
Utilities  -  Reboot Service 1.0
KutinSoft Reboot Service is a freeware service designed to reboot a computer remotely or in case of memory overflow. General service characteristics: - All aspects of service work can be configurated; - It is able to follow quantity of free...
1.21 MB  
Libraries  -  Devel::Monitor 0.9.0.7
Devel::Monitor is a Perl module that can monitor your variables/objects for memory leaks. You have memory leaks, and you want to remove it... You can use this tool to help you find which variables/objects that are not destroyed when they should...
16.38 KB  
Development Editors  -  GlowCode 8.2 Build 2006
GlowCode is a real-time performance and memory profiler for developers of managed and native Windows and .net applications. GlowCode is easy to use, compact and will help you maximize application performance. Its tools are designed to detect...
 
Development Tools  -  totalmem_ed.m 1.0
This is an extremely elementary function that tells you the total memory currently allocated in MB.It accepts the whos command as an input argument. Which allows the code to see the total memory usage from outside of it's scope (being a function)....
10 KB  
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  
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  -  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  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB