Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Simulink Model opens and can save, but nothing more

2 vues (au cours des 30 derniers jours)
Elijah Selby
Elijah Selby le 25 Jan 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (1)

Gaurav Phatnani
Gaurav Phatnani le 1 Fév 2018
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.

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by