My matlab gets an error when trying to plot anything
Show older comments
As the title says, this only happened recently and I'm not sure what triggered it.
I'm using Windows 64. This comes up every time I plot something:
Error using gca Can't load 'C:\Program Files\MATLAB\R2017a\bin\win64\osgserver.dll': C:\Program Files\MATLAB\R2017a\bin\win64\osgserver.dll is not a valid Win32 application.
1 Comment
Jan
on 22 Sep 2017
Did the contents of the file change? Compare it with your backup or the "Recent Versions". Try to re-install this file or the complete Matlab application.
Answers (2)
Fangjun Jiang
on 20 Sep 2017
1 vote
It looks like there is a mix up of files. The error message indicates it is looking for the 32-bit version of the MATLAB file. But the file pointed to is the 64-bit version. Do you have both the win32 and win64 version of MATLAB installed? What is the return value if you run "computer" in MATLAB?
Jan
on 22 Sep 2017
0 votes
Did the contents of the file change? Compare it with your backup or the "Recent Versions". Try to re-install this file or the complete Matlab application.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!