MEX failed to create a temporary directory

Hi,
I am using MatLab and I would like to install mex using
mex -setup
But, an error appears :
C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: MEX failed to create a temporary
directory. The directory "C:\Users\ABDELK~1\AppData\Local\Temp"
defined by the environment variable %TEMP% either does not exist
or is not writable. Consider changing %TEMP% to a writable directory,
for example "C:\temp".
Error using mex (line 206) Unable to complete successfully.

1 Comment

Does it exist? Did you try making c:\temp like it suggested?

Sign in to comment.

Answers (0)

Categories

Products

Asked:

on 20 Jan 2016

Commented:

on 20 Jan 2016

Community Treasure Hunt

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

Start Hunting!