Info

此问题已关闭。 请重新打开它进行编辑或回答。

Simulink Model opens and can save, but nothing more

1 次查看(过去 30 天)
Simulink will open up without issue, I can choose from the templates for what I want to create. However, past that, the program is unable to perform any function. All buttons and options are grey and cannot be clicked, rendering simulink completely useless. I have R2017a - Student Use

回答(1 个)

Gaurav Phatnani
Gaurav Phatnani 2018-2-1
To resolve this issue, we need to set the correct TEMP path in Environment Variable of Windows, and it can be done by following ways -
1. Set the Windows Environment Variable TEMP to the correct path - C:\Users\%USERPROFILE%\AppData\Local\Temp.
Please refer to the following Windows documentation link for the details on how to change Windows Environment variables. https://support.microsoft.com/en-us/help/310519/how-to-manage-environment-variables-in-windows-xp
2. Please set the correct TEMP path in MATLAB as well by including the following command to the 'startup.m' file -
>> setenv('TEMP', '%USERPROFILE%\AppData\Local\Temp')
This should set the TEMP variable's path correctly in the Windows and MATLAB both, and resolve the discrepancy in the paths which was causing that error.

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by