Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Compiling error

Subject: Compiling error

From: engin caglar

Date: 7 Feb, 2011 21:13:03

Message: 1 of 2

Hi all,

Im trying to compile my gui, using the command : (I used LCC)

mcc -m mygui.m -M mygui.res
and matlab says :
Warning: Name is nonexistent or not a directory: C:\Program
Files\MATLAB\R2008b\toolbox\compiler\patch.
It creates the executable file.When I run it,it gives below error in dos screen(command window) and closes.

Warning : Class 'uitools.uimode' in use at MCR termination.
If your application has terminated unexpectedly ,please note that applications generated by the matlab compiler terminate when there are no visible figure windows.......................


what do you suggest?

Subject: Compiling error

From: Aurelien Queffurust

Date: 15 Feb, 2011 13:32:03

Message: 2 of 2

"engin caglar" wrote in message <iipn8v$4e$1@fred.mathworks.com>...
> Hi all,
>
> Im trying to compile my gui, using the command : (I used LCC)
>
> mcc -m mygui.m -M mygui.res
> and matlab says :
> Warning: Name is nonexistent or not a directory: C:\Program
> Files\MATLAB\R2008b\toolbox\compiler\patch.
> It creates the executable file.When I run it,it gives below error in dos screen(command window) and closes.
>
> Warning : Class 'uitools.uimode' in use at MCR termination.
> If your application has terminated unexpectedly ,please note that applications generated by the matlab compiler terminate when there are no visible figure windows.......................
>
>
> what do you suggest?

Concerning the first warning , there is a bug report adressing this issue:
mcc complains about nonexistent ../toolbox/compiler/patch directory
http://www.mathworks.com/support/bugreports/485872

Concerning the second warning, it seems that you can safely ignore it ;)
Why do I receive warnings about certain classes being in use upon termination of an application compiled with MATLAB Compiler 4.5 (R2006b)?
http://www.mathworks.com/support/solutions/en/data/1-3LI142/?solution=1-3LI142

Sincerely,
Aurélien
http://blog.developpez.com/matlab4geek/

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us