How can I create a GUI in Matlab?
I know about GUIDE, but I am not satisfied with the amount of customization that it provides.
What other options I have ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I am a big proponent of using the Matlab-Java interface for GUI’s in Matlab. It’s a little more cumbersome, but definitely worth the trouble if it’s a reasonably featured GUI. It’s just like programming in Java, but using the m-script interface. To create a Java GUI you’ll need to use the Matlab built-in function
javaObjectEDTand pass it the class from which you want an instantiation.The
javaObjectEDTcall is recommended by the Mathworks to ensure garbage collection, etc.When you set a callback to a Matlab function handle, you’ll need to follow:
Which is explained here.
There are a lot of details, but down at the core it’s m-script based Java that integrates really well with Matlab.