How can I call an application compiled with MATLAB Compiler 4.1.1 (R14SP1+) from the desktop icon on Linux?
1 view (last 30 days)
Show older comments
I would like to have an icon on my Linux desktop that can execute my stand-alone executable generated by the MATLAB Compiler. How can I do that?
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
You can use an icon on the Linux desktop to execute a compiled application by adding a shell script in the same directory with the application. The shell script should look as follows:
#!/bin/csh
setenv LD_LIBRARY_PATH
./yourprog
where yourprog is the name of the stand-alone executable.
0 Comments
More Answers (0)
See Also
Categories
Find more on Install Products 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!