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:
Warning: Name is nonexistent or not a directory: C:\Program

Subject: Warning: Name is nonexistent or not a directory: C:\Program

From: Ulrich

Date: 4 Mar, 2009 09:01:01

Message: 1 of 4

When I am trying to compile a matlab source with >mcc I get:

Warning: Name is nonexistent or not a directory: C:\Program
Files\MATLAB\R2008b\toolbox\compiler\patch.
Warning: Name is nonexistent or not a directory: C:\Program
Files\MATLAB\R2008b\toolbox\compiler\patch.
Depfun error: 'Unable to locate IOS2ID.m as a function on the MATLAB path'
Warning: Name is nonexistent or not a directory: C:\Program
Files\MATLAB\R2008b\toolbox\compiler\patch.
??? Error using ==> mcc
Error executing mcc, return status = 1.

What to do to get it work???
My guess: Since many years of matlab development, it is not able to handle blanks inside path names!
Tell me where to set this environment variable from C:\Program Files to the good old dos style PROGRA~1!

Subject: Warning: Name is nonexistent or not a directory: C:\Program

From: ImageAnalyst

Date: 4 Mar, 2009 11:42:44

Message: 2 of 4

Start/Control panel/system/Advanced/Environment variables/System
Variables
Click Path in the list, then click Edit and change "Program Files" to
"Progra~1"

I've never had your problem and I didn't change the path to the short
DOS path.

Subject: Warning: Name is nonexistent or not a directory: C:\Program

From: John

Date: 14 Mar, 2009 06:38:06

Message: 3 of 4

I'm currently having the same issue. Did you find a solution?

Subject: Warning: Name is nonexistent or not a directory: C:\Program

From: Jaroslaw Tuszynski

Date: 9 Apr, 2010 16:44:22

Message: 4 of 4

"Ulrich" <millim1974@yahoo.com> wrote in message <golg0d$cvr$1@fred.mathworks.com>...
> When I am trying to compile a matlab source with >mcc I get:
>
> Warning: Name is nonexistent or not a directory: C:\Program
> Files\MATLAB\R2008b\toolbox\compiler\patch.
> Warning: Name is nonexistent or not a directory: C:\Program
> Files\MATLAB\R2008b\toolbox\compiler\patch.
> Depfun error: 'Unable to locate IOS2ID.m as a function on the MATLAB path'
> Warning: Name is nonexistent or not a directory: C:\Program
> Files\MATLAB\R2008b\toolbox\compiler\patch.
> ??? Error using ==> mcc
> Error executing mcc, return status = 1.
>
> What to do to get it work???
> My guess: Since many years of matlab development, it is not able to handle blanks inside path names!
> Tell me where to set this environment variable from C:\Program Files to the good old dos style PROGRA~1!

I had the same problem but creating empty folder 'C:\Program
Files\MATLAB\R2008b\toolbox\compiler\patch' fixed the problem.

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