<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2800.1649" name=GENERATOR></HEAD>
<BODY text=#330000 bgColor=#ffffff>
<DIV><SPAN class=924011609-24062011><FONT face=Arial color=#0000ff size=2>Hi
Adrien,</FONT></SPAN></DIV>
<DIV><SPAN class=924011609-24062011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=924011609-24062011><FONT face=Arial color=#0000ff size=2>In
this case, I had to integrate some code I had written in Scilab with some other
code I had written in C. It was just a quick way to achieve a final
executable program. I was not so interested in speed for that particular
application. You are right that SendScilabJob still uses the interpreter,
so it does not gain all the advantages of compiled code, but it does
achieve the objective of making an executable file. But when I think more
about this, maybe it is not a good solution for this particular
question.</FONT></SPAN></DIV>
<DIV><SPAN class=924011609-24062011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=924011609-24062011><FONT face=Arial color=#0000ff size=2>Thanks
for your comments - always useful.</FONT></SPAN></DIV>
<DIV><SPAN class=924011609-24062011><FONT face=Arial color=#0000ff
size=2>Mike.</FONT></SPAN></DIV>
<DIV><SPAN class=924011609-24062011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Adrien Vogt-Schilb
[mailto:vogt@centre-cired.fr]<BR><B>Sent:</B> 24 June 2011 09:50<BR><B>To:</B>
users@lists.scilab.org<BR><B>Subject:</B> Re: [scilab-Users] Re: ejecutable de
scilab<BR><BR></FONT></DIV>Hi Mike,<BR><BR>I thought that the purpose of
compiling scilab code was to speed up the resolution and also maybe to be able
to have a standalone program, that does not need scilab to be
installed.<BR><BR>So i am curious: what is the purpose of sending code from a
C program to Scilab?<BR>What the advantages over, saving a sript in a text
file and asking directly scilab to execute it via a simple command line for
instance?<BR><BR>Does it speed up calculations?<BR><BR>I ask because I use a
lot of programs for my research myself, and i am interested in anything for
automating scilab computations for instance<BR><BR><BR>On 24/06/2011 09:50,
Mike Page wrote:
<BLOCKQUOTE cite=mid:LKECIGCCKNOMMCKAGNOAIEEEDGAA.Mike@Page-One.Waitrose.com
type="cite"><PRE wrap="">Hi,
You can try Scilab2C and then compile the result (see
<A class=moz-txt-link-freetext href="http://atoms.scilab.org/toolboxes/scilab2c/">http://atoms.scilab.org/toolboxes/scilab2c/</A>). But this has some
limitations. I succeeded by writing a C program that passed the Scilab code
to the Scilab engine using SendScilabJob (see help). This is not very
convenient for large programs, but it worked for me.
Regards,
Mike.
-----Original Message-----
From: toocool244 [<A class=moz-txt-link-freetext href="mailto:toocool244@hotmail.com">mailto:toocool244@hotmail.com</A>]
Sent: 24 June 2011 01:58
To: <A class=moz-txt-link-abbreviated href="mailto:users@lists.scilab.org">users@lists.scilab.org</A>
Subject: [scilab-Users] Re: ejecutable de scilab
Estimated scilab community I write because I have a concern with this
program. DEVELOPING long I'm a software platform in scilab, but now I have
it I find that you can not make an executable from scilab or at least I have
not found a way to compile it. I've seen that matlab can do this now I want
to know if you have any solution to get an executable as well as matlab
does.
--
View this message in context:
<A class=moz-txt-link-freetext href="http://mailinglists.scilab.org/ejecutable-de-scilab-tp2920493p3102429.html">http://mailinglists.scilab.org/ejecutable-de-scilab-tp2920493p3102429.html</A>
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.
No virus found in this incoming message.
Checked by AVG - <A class=moz-txt-link-abbreviated href="http://www.avg.com">www.avg.com</A>
Version: 9.0.901 / Virus Database: 271.1.1/3721 - Release Date: 06/23/11
07:34:00
</PRE></BLOCKQUOTE><BR><BR>
<DIV class=moz-signature>-- <BR>
<P style="FONT-SIZE: 12pt; COLOR: teal"><B>Adrien Vogt-Schilb</B><BR>Research
Fellow<BR><A class=moz-txt-link-abbreviated
href="mailto:vogt@centre-cired.fr">vogt@centre-cired.fr</A><BR>Tel: (+33) 1 43
94 73 96<BR>Fax: (+33) 1 43 94 73 70<BR></P>
<TABLE
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none">
<TBODY>
<TR>
<TD
style="PADDING-RIGHT: 0pt; PADDING-LEFT: 0pt; PADDING-BOTTOM: 0pt; PADDING-TOP: 0pt">
<P><IMG alt=CIRED src="cid:924011609@24062011-0937" width=54></P></TD>
<TD
style="PADDING-RIGHT: 7pt; PADDING-LEFT: 7pt; PADDING-BOTTOM: 0pt; PADDING-TOP: 0pt"
vAlign=center>
<P style="FONT-SIZE: 10pt; COLOR: teal">45 bis, Av de la Belle
Gabrielle<BR>F-94736 Nogent-sur-Marne<BR><A style="COLOR: teal"
href="http://www.centre-cired.fr/">http://www.centre-cired.fr/</A><BR></P></TD></TR></TBODY></TABLE></DIV></BLOCKQUOTE></BODY></HTML>