There was a problem sending the command to the program
Show older comments
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
Preethi
on 12 Oct 2016
are you trying to run the script by double clicking a .m file? please elaborate
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.
Walter Roberson
on 5 Jan 2017
Answers (3)
Pritesh Shah
on 12 Oct 2016
0 votes
Open the matlab first and then try to run program.
Jan
on 5 Jan 2017
0 votes
1 Comment
Chip Audette
on 6 Jan 2017
Yes, I tried this. Sadly, no effect. I still get the error.
Benedikt Kersting
on 25 Oct 2017
0 votes
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
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!