Hi Marta,
It is my understanding that you are working on a LSTM model and wants to resolve the issue of MATLAB not working suddenly.
Here are few things which you can try to resolve your issue.
- Try restarting MATLAB. Sometimes simply restarting MATLAB can resolve issue with software performance.
- Make sure you are running the latest version of MATLAB and all the latest updates are installed.
- If none of the steps work, try reinstalling MATLAB as this might fix any corrupted files. Follow the below link for clean reinstallation of MATLAB https://www.mathworks.com/matlabcentral/answers/131519-how-do-i-perform-a-clean-installation-of-matlab