" requested the Runtime to terminate it in an unusual way"
Show older comments
Freshly installed MATLAB on Windows 7, 64Bit.
- If I select the MATLAB shortcut in the Start Menu, I get a windows error saying the following:
%%%%%%%%%%%%%%%%%%%%%%%%%%
Microsoft Visual C++ Runtime Library
%
Runtime Error!
%
Program: C:\MATLAB7\bin\win32\MATLAB.exe
%
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- If I go to the directory C:\Program Files\MATLAB\R2012b\bin and start using the matlab.exe located there, Matlab starts but the command window displays a lot of errors:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Cannot find function, getDefaultUserFolder, in library services.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Warning: Duplicate directory name: C:\Program Files\MATLAB\R2012b\toolbox\local
%
and so on an so forth.
SafeMode, -nojvm, -shield none all yield the exact same behaviour, and it occurred at least with Matlab 64bit 2012b and 2011b.
Accepted Answer
More Answers (1)
Jonathan Epperl
on 25 Sep 2014
0 votes
1 Comment
Lowell Day
on 11 Apr 2016
To resolve the issue, you can remove Virtu MVP from your system PATH environment variable.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!