Matlab cannot open .m file
Ältere Kommentare anzeigen
Matlab cannot browse folders in the white strip (It stays as "C:"). Also when I click a ".m" file, it runs as flowing, forever. I tried uninstalling MATLAB and install again, but it is of no use. Anyone knows why it is like this? Thanks

Antworten (1)
Vidhi Agarwal
am 16 Feb. 2024
0 Stimmen
Hi Wei,
I understand that your MATLAB is experiencing loading issues, and the problem persists despite attempts to restart the application.
You can follow the following steps to resolve this issue:
- Reset MATLAB Preferences: Corrupted MATLAB preferences can cause unusual behaviour. You can reset MATLAB's preferences to their default settings by following these steps:
- Close MATLAB.
- Navigate to MATLAB's preferences directory. This is typically located in the user's home directory, under MATLAB\R20xx\ (where R20xx is the version of MATLAB you are using).
- Rename the preferences folder (for example, to preferences_old) to back it up.
- Restart MATLAB. It will create a new preferences folder with default settings.
- Run MATLAB as an Administrator: There may be permission issues that prevent MATLAB from accessing certain folders or files. Try running MATLAB as an administrator to see if this resolves the issue.
- Check for Updates or Patches: Make sure you have the latest updates or patches for your MATLAB version. Sometimes, bugs are fixed in subsequent releases or patches.
- Check MATLAB Path: Ensure that the MATLAB path is set correctly and does not include directories that could cause conflicts or are not accessible.
- Check Operating System Compatibility: Ensure that your operating system is compatible with the version of MATLAB you are using. Incompatibilities could lead to unexpected behaviour.
- Use MATLAB Support: If none of the above steps resolve the issue, you may need to contact MathWorks support for help. They can provide more detailed troubleshooting steps specific to your situation.
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!