Can Matlab 6.5 automatically convert GUI-based Matlab program to stand-alone applications?

Can Matlab 6.5 automatically convert GUI-based Matlab program to stand-alone applications?

Post by Mike » Sat, 31 Mar 2007 13:51:06


Hi all,

I am using Matlab R2006a on Windows XP. I can use mcc to automatically
convert GUI-based Matlab program into stand-alone applications.

But can Matlab 6.5 do the same thing? Suppose the matlab GUI program was
built using "guide" in Matlab 6.5, can Matlab 6.5 's mcc convert it into a
standalone application automatically?

I don't have a Matlab 6.5, but does anybody have experience on that? We need
a special feature from Matlab 6.5...

Thanks a lot!
 
 
 

Can Matlab 6.5 automatically convert GUI-based Matlab program to stand-alone applications?

Post by Nasser Abb » Sat, 31 Mar 2007 14:45:32


I remember building a .exe matlab program with GUI build with GUIDE in late
2002 for a school project, I think I used Matlabe 6.5 for that. I do not
seem to have documented which Matlab version I used for this now, but I
think I used 6.5 then.

Here is the link for the .exe
http://www.yqcomputer.com/

Here is the makefile I used to build it

#
# Makefile to build MATLAB applications.

PROGRAM=nma_hmm_main
MCCGEN=mccgen

$(PROGRAM): %:%.m
mcc -m $@.m -B sgl

all: $(PROGRAM)

prep: always
rm -rf mccgen

always:
------------

Remember that after you compile you matlab to a .exe, you need to add the
matlab run-time libraries you ship with your .exe to the PATH on the new
installation.

hth

Nasser