Error in Publishing Code
1 view (last 30 days)
Show older comments
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,

0 Comments
Answers (1)
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
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.
See Also
Categories
Find more on Adding custom doc 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!