Error in Publishing Code

1 view (last 30 days)
riddhi
riddhi on 17 Jan 2014
Commented: Walter Roberson on 17 Jan 2014
Hi All,
I just installed MATLAB R2013b. Whenever I try to run code it runs perfectly. I am getting no error but, if I try to publish my code I am getting error as shown in file. I don't know where am I going wrong.
Thanks,

Answers (1)

Suneesh
Suneesh on 17 Jan 2014
See what the following at the MATLAB prompt returns:
tempdir
This should be the C:\Users\Harshal\Appdata\Local\Temp
Now verify if this exists. If it does not, create it. Or you could set 'tempdir' to a valid path where temporary files may be written to.
  1 Comment
Walter Roberson
Walter Roberson on 17 Jan 2014
At the command prompt, command
mkdir('C:\Users\Marshal\AppData')
mkdir('C:\Users\Marshal\AppData\Local')
mkdir('C:\Users\Marshal\AppData\Local\Temp')
The first couple might report that the directory already exists; if so that is fine and keep going.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!