MATLAB: On startup, this error pops up .. “Error using connector.​internal.a​utostart.r​un”

image acquisitionMATLABmatlab function

Error using connector.internal.autostart.run Cannot CD to C:\Users\AAsus\AppData\Local\Temp;;C:\Program Files\Java\jdk1.8.0_11\bin;;C:\Program Files\Java\jdk1.7.0_02\bin (Directory access failure).
This error occurs everytime I am starting Matlab 2015b. Please help me with this. Thanks in advance.

Best Answer

  • Your TEMP environment variable is invalid. It needs to to be a single directory, not a list with multiple directories like you have.
    Your extra directories have to do with Java but neither of the extra directories are directories that should contain temporary files.
    You should reconfigure your system environment variables to not have those jdk references for TEMP