There was a problem sending the command to the program

I installed MATLAB and it ran well at first, but when I closed it and tried running it by double-clicking a *.m file it produced an error saying : "There was a problem sending the command to the program."

3 Kommentare

are you trying to run the script by double clicking a .m file? please elaborate
I have this problem as well. The issue is: I want to open the m-file. So, I double-click on the file's icon in Windows. Normally, this would launch Matlab, which would then launch the Matlab Editor, which would then open my m-file. Ever since I upgraded from Win7 to Win10, this doesn't work anymore. Instead, upon double-clicking on the m-file, one gets a Windows error with the text stated in the original post.

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Pritesh Shah
Pritesh Shah am 12 Okt. 2016

0 Stimmen

Open the matlab first and then try to run program.
Jan
Jan am 5 Jan. 2017

0 Stimmen

Did you try to run FEX: file-association-fix already?
Benedikt Kersting
Benedikt Kersting am 25 Okt. 2017

0 Stimmen

Hey, I am encountering the same problem with "MATLAB 2017b" on a machine with "Windows10 Enterprise2016 LTSB". Did anyone find a solution yet?

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 11 Okt. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by