Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-04-2009, 04:12 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Smile Standalone executeable file

My matlab file is Simple11.m which is just printing world "hello". I have used "mcc -m Simple11" on matlab prompt to generate stand alone code in linux operating system. It geneated exe file as "Simple11" when i tried to run it via "./Simple11" it gives errors as " ./Simple11: error while loading shared libraries : cannot open shared object file : No such file or directory". Alternatley it is running successfuly when i tried via "./ /opt/matlab/R2008a/". Although this last command is running without matlabe but it is still using many many files from the matlab and can not run when the file directory path is not current. So my task is still not completed because my teacher has told me to make completely stand alone executeable file.
I will be thankfull if any one helps to complete my last lab work. Waiting for reply please.
Old 03-04-2009, 10:46 PM   #2
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
Are you using the Student Version of Matlab?

Because you cannot compile a standalone application with the Student Version of MATLAB. The MATLAB Compiler, MATLAB C/C++ Math Libraries, and MATLAB C/C++ Graphic Libraries, which are needed to compile standalone code, are not supported in the Student Version. This would explain the missing library problem.


Arch Linux

Last edited by T74marcell; 03-14-2009 at 01:50 AM.
Old 03-05-2009, 02:10 AM   #3
LQ Newbie
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Standalone executeable file

Hi : T74marcell
Thanks for your prompt reply
I am not using student version. I have compiled successfully but it is the issue of some file or path relating "" . So looking for furhter help please.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to update standalone PC benb3342 Linux - Software 1 02-03-2009 01:59 PM
how to make the cdrom executeable ? zantac Ubuntu 7 05-03-2007 12:54 PM
Standalone EXE file in Visual Basic 6.0 tooparam Programming 1 01-29-2006 01:19 PM
StandAlone System MKSrivastava Debian 11 01-24-2006 12:02 PM
StandAlone System MKSrivastava Linux - Laptop and Netbook 2 01-23-2006 05:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration