Error in Publishing Code

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,

回答(1 个)

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 个评论

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.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Adding custom doc 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by