GUI example 03

How to use mguide created GUI's

You can test your GUI at any time using the run button:


Save .mat

Save a .mat file which you can use in your code:

     hApplication = matpigui ( 'mguideApplication.mat' )

Doing it this way allows you to continue to develop your GUI in mguide and the rest of your code

Export to a .m file

If you export to a file you wont be able to edit your GUI in mguide afterwards.

It is useful to understand how to write code directly - as it allows for quick and easy development and you can create GUI components at runtime which really allows your code to be dynamic!