FYI, I posted this question on comp.soft-sys.matlab
with Matlab 2012a, on windows 7, I noticed Matlab is going for windows files before matlab's for some commands:
EDU>> ver
Mex file entry point is missing. Please check the (case-sensitive)
spelling of mexFunction (for C MEX-files), or the (case-insensitive)
spelling of MEXFUNCTION (for FORTRAN MEX-files).
Invalid MEX-file 'C:\Windows\system32\version.dll':
so path is messed up:
EDU>> which ver
C:\Program Files (x86)\MATLAB\R2012a Student\toolbox\matlab\general\ver.m
EDU>> which input
C:\Windows\system32\input.dll
But I looked at my PATH in windows computer->Property, and I made sure Matlab is first thing. Restarted Matlab, and still the problem is there
My PATH from system:
C:\Program Files (x86)\MATLAB\R2012a Student\bin;C:\Program Files\Common Files\Microsoft etc..
So you see Matlab is first thing.
I also do not see System inside Matlab path command?
EDU>> findstr(path,'system32')
ans =
[]
EDU>> findstr(path,'windows')
ans =
[]
EDU>> userpath
ans =
''
MY question is: Where would Matlab be reading this wrong path from? Is there another place to fix the Matlab path?
related question:
I rebooted windows. Problem is still there.
(ps. this forum is nice, I can edit my post here!)
thanks, --Nasser