MATLAB: Unable to run a live script

live script

I installed R2017a at first and it can't run live script then i unstalled R2017a and installed R2017b and it still can't run live scipt. What is wrong with my laptop or the system? Can someone please answer this? I mean that I can create or open .m file but I cannot open or create .mlx file on my matlab. Once it says i cannot use live editor on my system, but my system is just win10. most of the time when i try to open or create a live script, it just went dead.

Best Answer

Hi Lu,
I have a few suggestions for you:
1. Make sure you have write access to the temporary directory that MATLAB is using. To get the path to this directory, you can execute the following command in the MATLAB command window:
>> tempdir
If the issue is related to permissions, you could also try running MATLAB as administrator and see if that lets you open live scripts.
2. Regenerate preferences for the version of MATLAB you are using. For steps on how to do this, please see this MATLAB answers post.
Restart MATLAB after making these changes and see if you can read live scripts then. If not, could you be more specific about what you mean by it 'went dead'?
Related Question