Borrar filtros
Borrar filtros

When clicked on Matlab icon does not start Matlab

3 visualizaciones (últimos 30 días)
Cem
Cem el 23 de Mzo. de 2012
Comentada: Walter Roberson el 18 de Feb. de 2017
Hello,
Lately when I click on the Matlab icon on the desktop, it does not start Matlab, but opens Matlab.bat in Notepad! If I run the command in Target in the icon: "C:\Math\MATLAB\R2007a\bin\matlab.bat -sd $documents\MATLAB" under a command window, Matlab works fine. What is the problem?

Respuesta aceptada

Jason Ross
Jason Ross el 23 de Mzo. de 2012
Check your file associations. In Windows 7, go to the Control Panel, type in "Associations" in the "Search" field (upper right-hand corner) and then select "Change the file type assciated with a file extension". When you find the .bat file, it should say "Unknown application", and I'm betting yours says "Notepad".
AFAIK the only way to clear an association is to edit the Registry. This is the procedure for Windows 7:
  2 comentarios
Cem
Cem el 23 de Mzo. de 2012
Hello Jason,
You are right. I deleted the registry key and it worked! Thank you.
Jason Ross
Jason Ross el 23 de Mzo. de 2012
You're welcome!

Iniciar sesión para comentar.

Más respuestas (1)

Anvinder  Singh
Anvinder Singh el 18 de Feb. de 2017
Mine says Unknown application only but still it doesnt work.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by