Matlab does not have >> in the commend window.

20 visualizzazioni (ultimi 30 giorni)
Benson Gou
Benson Gou il 7 Ago 2025
Risposto: Ayush il 19 Ago 2025 alle 5:48
Dear All,
Two days ago, my computer suddenly lost the electricity and Matlab was terminated when the electricity was gone. After that, I turned on my computer and started Matlab, I found Matlab could not start properly.
1) There is no >> in the commend window,
2) and it is always keeping initializing.
3) I path is not the path I usually worked on. The path is C:\Users\snow\OneDrive - Tarrant County College District\Documents\MATLAB. But my working path is G:\My_Dell_PC_Since_April_2025\Disk_E\NDSE_2020\Version26_Oncor_Test. I cannot select my woring path.
I tried to uninstall and install several times, but I still have the above problem.
Would Mathworks help me to fix this problem?
Thanks a lot.
Benson
  2 Commenti
Matt J
Matt J il 7 Ago 2025
Modificato: Matt J il 7 Ago 2025
Since it sounds like an installation problem, I think they would. Did you ask them?
Walter Roberson
Walter Roberson il 7 Ago 2025
I would suggest moving aside the preferences directory.

Accedi per commentare.

Risposte (1)

Ayush
Ayush il 19 Ago 2025 alle 5:48
I understand you are facing issue with MATLAB UI and interface.
The issue you are experiencing is likely due to corrupted MATLAB configuration files or startup paths, which can happen when MATLAB is not closed properly, such as during a sudden shutdown. This is a common issue when MATLAB does not close gracefully.
To fix it, it's important to know that MATLAB stores user-specific settings in a folder called "prefdir". If the contents of this folder become corrupted, it can prevent MATLAB from starting correctly. Here is how you can reset these settings:
  • Try to manually delete the preferences folder: You can move to the following directory and clear or delete the folders matching your MATLAB version: "%APPDATA%\MathWorks\MATLAB". This resets MATLAB preferences, more like a factory reset, but without affecting your code or toolboxes.
  • You can try clearing MATLAB's cache folder: You can open the following path and clear the cache.
%LOCALAPPDATA%\MathWorks\MATLAB
  • Run MATLAB in safe mode to isolate the issue. You can try running matlab in safe mode using the following command on your command prompt:
matlab -safe
Hope it helps!

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by