The directory name is invalid

When i open Matlab 2016Ra from desktop icon it shows: "C:\Program Files\MATLAB\R2016a\bin\matlab.exe The directory name is invalid. " But when I open Matlab from start menu it runs without above message and error. What is the solution??

 采纳的回答

Star Strider
Star Strider 2020-12-16

0 个投票

I would delete the current desktop icon first.
Then in File Explorer, navigate to C:\Program Files\MATLAB\R2016a\bin then right-click on matlab.exe then in the menu that pops up, go to Send To and choose Desktop (create shortcut).
That should produce a working desktop icon to replace the non-functioning one.

4 个评论

this type of shortcut shows the Current folder where the setup.exe is present but original shortcut does not shows it.That's issue with this type of shortcut.please suggest that what's the problem with original shortcut.
I have no idea what the problem is with the original shortcut.
All I know is that when the same sort of problem occurred on one of my computers, the procedure I described solved the problem, and the new desktop shortcut worked correctly.
Thanks. Your suggestion works. God bless you
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by