|
|
Deployment via .exe
Dear All,
Normally, I use the guided 'deploytool' to package up my .m files into an executable. I noticed the other day, however, that there's a command line alternative. In my case:
mcc -o 'ProjName' -W 'main' -d 'D:\Proj_Name\src' -T 'link:exe' -v 'D:\..._Main.m' -a 'D:\Various.other.files.m' ...
However, when I run this command, where previously I had separate 'distrib' and a 'src' folders (and the documentation told me to use the .exe in the 'distrib' folder), running the command line only seems to create a 'src' folder.
The question, then: Does this matter? That is to say, what's the difference between the two folders? And is it reliable to deploy executables from the src folder to other users?
Thanks,
James.
|
|
0
|
|
|
|
Reply
|
james
|
1/25/2011 2:41:03 PM |
|
You can reliably deploy executables in the "src" folder. DEPLOYTOOL uses the
"distrib" folder to simplify the distribution process -- you'll find many
files in "src" that are not in "distrib", as DEPLOYTOOL copies only those
files you need to distribute into the "distrib" folder.
"james bejon" <jamesbejon@yahoo.co.uk> wrote in message
news:ihmndv$mq9$1@fred.mathworks.com...
> Dear All,
>
> Normally, I use the guided 'deploytool' to package up my .m files into an
> executable. I noticed the other day, however, that there's a command line
> alternative. In my case:
>
> mcc -o 'ProjName' -W 'main' -d 'D:\Proj_Name\src' -T 'link:exe' -v
> 'D:\..._Main.m' -a 'D:\Various.other.files.m' ...
>
> However, when I run this command, where previously I had separate
> 'distrib' and a 'src' folders (and the documentation told me to use the
> .exe in the 'distrib' folder), running the command line only seems to
> create a 'src' folder.
>
> The question, then: Does this matter? That is to say, what's the
> difference between the two folders? And is it reliable to deploy
> executables from the src folder to other users?
>
> Thanks,
>
> James.
|
|
0
|
|
|
|
Reply
|
pwebb (443)
|
3/14/2011 11:43:41 PM
|
|
Thanks for the response.
Oddly, perhaps, the .exe itself tends to be larger in 'distrib', but I haven't had any problems with this method thus far...
|
|
0
|
|
|
|
Reply
|
jamesbejon (116)
|
3/15/2011 12:30:08 AM
|
|
|
2 Replies
387 Views
(page loaded in 0.076 seconds)
|
|
|
|
|
|
|
|
|