create an .exe file
    7 views (last 30 days)
  
       Show older comments
    
hello
I create an exe file (from my GUI) with mbuild in matlab but when i run it on a PC that doesn't have matlab recieve an error.Why????????
is it possible to run that without having matlab??(like a program)
thank u
0 Comments
Answers (2)
  the cyclist
      
      
 on 22 Jul 2011
        Maybe I am misunderstanding your question, but don't you have to run the command "mcc" to compile the MATLAB code, not the "mbuild" command?
(I haven't used the MATLAB compiler in a very long time, so apologies if this is not correct.)
0 Comments
  Robert Cumming
      
 on 22 Jul 2011
        what error do you get?
You need to deploy the MCR installer to run the exe on a PC that doesn't have matlab.
You can generate the MCR from the deploytool.
1 Comment
See Also
Categories
				Find more on MATLAB Compiler in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


