Borrar filtros
Borrar filtros

Matlab cannot open .m file

4 visualizaciones (últimos 30 días)
Wei Zhang
Wei Zhang el 15 de Dic. de 2021
Respondida: Vidhi Agarwal el 16 de Feb. de 2024
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

Respuestas (1)

Vidhi Agarwal
Vidhi Agarwal el 16 de Feb. de 2024
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:
  1. Close MATLAB.
  2. 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).
  3. Rename the preferences folder (for example, to preferences_old) to back it up.
  4. 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.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by