http://www.mathworks.com/matlabcentral/newsreader/view_thread/244472
-------------------------------------------------------------------------------------------
问题:
I recently changed my system to Windows 7 Beta and installed Matlab R2007b on it. The installation progress went well but I can not run it.
After I double-clicked on the Matlab icon on the desktop, the boot window came out then disappeared quickly. But the main window never came out. I have checked windows running processes, the Matlab was not running any longer. Running under "compatibility mode" doesnt work as well.
Are there any other friends here facing the same problem?
win7上装好matlab 7.5.0(R2007b),桌面上双击图标,matlab的窗口一闪就消失。
-------------------------------------------------------------------------------------------
解决办法:(有多个,我只用了第4个,第1个也用过,但是第1个会使得win7的aero特性失效)
1:右击matlab图标,选择属性,选择兼容性,勾选“禁止桌面元素”
The easy solution would be to open 'matlab.exe' properties, go to "Compatibility" tab and select "Disable desktop composition".
This would allow you to enjoy the bubbly Win7 themes whenever you are doing other things, but switch to Basic theme once you try to run Matlab.
2:更改win7 主题
OK...I finally found the solution for this problem.
Simply change your theme to classic windows theme!
It works for me now.
If it does not work, it might be some steps I did before change theme.
I set the Matlab webserver service to Manual, but this did not fix the problem.
3: 还有其他方式
goto C:/Program Files/Java copy folder named jreX or something like that
install latest jre before this
then open F:/MATLAB7/sys/java/jre/win32 or to a similar folder in c: where you installed matlab paste the copied folder in that folder rename a folder named jre1.4.2 which is already in the folder or similar folder to a different name and give the newly copied folder the old name of the folder which you just renamed
this will work definitely it worked for me on windows 7 with every theme
if any problem mail me R.Karthik@Ymail.com
4:(本人用了这个)
Running in the classic windows theme, or checking "Disable desktop
composition" in the properties for matlab.exe both work for me.
(Changing the Java engine did not seem to make a difference, though.)
However, both of these settings will prevent you from using the Aero
theme.
I got MATLAB 2007b to work with Aero by following the steps on this
link:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/159717
Briefly:
1. Right click on my computer, and select properties
2. Click "Advanced system settings"
3. Click "Environment variables ..."(新建用户环境变量)
4. Click "New ..." and add a variable named "MATLAB_RESERVE_LO"
with a value of "0".
Hit "OK" to close these dialog boxes, and MATLAB should work just like
a normal program in Aero!