There was a problem sending the command to the program

1 view (last 30 days)
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 Comments
Chip Audette
Chip Audette on 5 Jan 2017
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.

Sign in to comment.

Answers (3)

Pritesh Shah
Pritesh Shah on 12 Oct 2016
Open the matlab first and then try to run program.

Jan
Jan on 5 Jan 2017
Did you try to run FEX: file-association-fix already?

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

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!