(Desktop)-Icon for starting a Programm

Hello, I have not found a forum entry now, so: Is there a possibility to build an Icon perhaps on my Desktop, so my programm in matlab can start with this Icon directly even when matlab is closed? I have a lot of sub-functions and GUIs connected to it and I want the user to directly start the programm. Thanks in advance.

 Accepted Answer

You can create a small batch file, which calls Matlab with the -r switch:
matlab.exe -r yourFunction
Save this script to your desktop.

More Answers (0)

Categories

Asked:

on 6 Nov 2018

Answered:

Jan
on 6 Nov 2018

Community Treasure Hunt

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

Start Hunting!