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:
addpath not work

Subject: addpath not work

From: pink

Date: 25 Jun, 2011 05:42:05

Message: 1 of 3

I have a problem on addpath (). before it is shipped on time, addpath () can work well, but after compiled addpath () can not work.
The file
 E:\test\test19\forminput\input.m'
is not the application's expanded CYF archive at
'C:\DOCUME~1\satan\LOCALS~1\Temp\satan\mcrCache7.11\test_40''


my code
addpath(fullfile(pwd,'forminput'))
input %sub Gui

whether I am writing this code for errors

Subject: addpath not work

From: Steven_Lord

Date: 27 Jun, 2011 02:19:32

Message: 2 of 3



"pink " <wahyoe_slipnot@yahoo.co.id> wrote in message
news:iu3sfd$1fj$1@newscl01ah.mathworks.com...
> I have a problem on addpath (). before it is shipped on time, addpath ()
> can work well, but after compiled addpath () can not work.
> The file
> E:\test\test19\forminput\input.m'
> is not the application's expanded CYF archive at
> 'C:\DOCUME~1\satan\LOCALS~1\Temp\satan\mcrCache7.11\test_40''

http://www.mathworks.com/support/solutions/en/data/1-ANUH0Q/?solution=1-ANUH0Q

http://blogs.mathworks.com/loren/2008/08/11/path-management-in-deployed-applications/

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: addpath not work

From: pink

Date: 1 Jul, 2011 06:28:09

Message: 3 of 3

"Steven_Lord" <slord@mathworks.com> wrote in message <iu8pbk$akb$1@newscl01ah.mathworks.com>...
>
>
> "pink " <wahyoe_slipnot@yahoo.co.id> wrote in message
> news:iu3sfd$1fj$1@newscl01ah.mathworks.com...
> > I have a problem on addpath (). before it is shipped on time, addpath ()
> > can work well, but after compiled addpath () can not work.
> > The file
> > E:\test\test19\forminput\input.m'
> > is not the application's expanded CYF archive at
> > 'C:\DOCUME~1\satan\LOCALS~1\Temp\satan\mcrCache7.11\test_40''
>
> http://www.mathworks.com/support/solutions/en/data/1-ANUH0Q/?solution=1-ANUH0Q
>
> http://blogs.mathworks.com/loren/2008/08/11/path-management-in-deployed-applications/
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
I've tried it a few times but it does not work, can be more specific

my code 1
addpath(fullfile(pwd,'forminput'))
inputdata % gui_files

my code 1
addpath(pwd,'analysis')
[x,y]=function1(a,b) % function_files
[c,d]=function2(x,y) % function_files

how to modify the code above to read if the files are compiled into an application, please help

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