Can you load compiled code from an icon?

2 views (last 30 days)
BJ
BJ on 31 Jan 2011
Currently when I use the Matlab compiler to make a stand-alone application I have to run the command prompt and type in the function's .exe name in order to run the program. Does anyone know of a way to simplify that, like creating a shortcut or desktop icon that I can click to do the same thing?

Accepted Answer

Martijn
Martijn on 31 Jan 2011
Yes that should be possible; simply create a new shortcut, on for example your desktop, by:
1. Right-clicking on your desktop and choosing "New" -> "Shortcut" then as target select your MATLAB Compiler Standalone EXE-file.
2. Or, in Windows Explorer drag the MATLAB Compiler Standalone EXE-file to your desktop while holding the ALT-button. This should create a shortcut to the application.
  1 Comment
BJ
BJ on 31 Jan 2011
So it is. It just takes a little while to load the .exe after it opens the command window. Thanks for the help.

Sign in to comment.

More Answers (0)

Categories

Find more on C Shared Library Integration 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!