Google Gruplar, artık yeni Usenet gönderilerini veya aboneliklerini desteklememektedir. Geçmişteki içerikler görüntülenebilir kalmaya devam edecek.

Executable file from Scilab

2.519 görüntüleme
İlk okunmamış mesaja atla

pat....@laposte.net

okunmadı,
27 Mar 2009 03:17:4727.03.2009
alıcı
Hello,

I would like to know if it is possible to make and executable from
scilab (with extension .exe for example) which can be deliver as a
simple application to run from anybody.

I want to offer a way to process data automatically.

Thanks for your help

PS: I am not a software expert, just a scilab user.

Tim Wescott

okunmadı,
27 Mar 2009 10:02:0727.03.2009
alıcı

You can process data automatically from the command line with the right
kind of script (i.e. one that has an 'exit' at the end) that you use by
invoking Scilab from the command line with the '-f' parameter.

--
http://www.wescottdesign.com

sgou...@univ-lemans.fr

okunmadı,
27 Mar 2009 14:13:2027.03.2009
alıcı

There may be two main reasons for aiming to build a .exe:
* Either you want to allow any user to use your program without
buy the "driving" software. But Scilab is free. Anyone may instal it
on any
number of computers.
* Or you want to protect your code (but by doing some reverse
engineering).
But Scilab is open. See the Scilab license.

AFAIK, there is no way for building a .exe (but some launching macro,
assuming that Scilab is well installed).

Samuel

Roy

okunmadı,
28 Mar 2009 22:48:2828.03.2009
alıcı
On Mar 27, 2:13 pm, sgoug...@univ-lemans.fr wrote:
> On 27 mar, 08:17, pat.du...@laposte.net wrote:
>
> > Hello,
>
> > I would like to know if it is possible to make and executable from
> > scilab (with extension .exe for example) which can be deliver as a
> > simple application to run from anybody.
>
> > I want to offer a way to process data automatically.
>
> > Thanks for your help
>
> > PS: I am not a software expert, just a scilab user.
If you use scicos, you should be able use the code generation facility
to convert a superblock to standalone executable code. There are some
restrictions on what the superblock can contain, and you may need some
scilab dlls/libraries (not sure about the last part - I've not tried
it myself)

- Roy

TheFrog4u

okunmadı,
30 Mar 2009 04:44:0030.03.2009
alıcı
> > Samuel- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

As mentioned by Roy scicos is able to generate c-code which you could
use to compile a standalone *.exe, but notice that you can NOT use
scilab-code blocks and therefore not just copy and paste you skript.
So you will have to rebuild your function using standart or c blocks.
I tried this once, but it is not very easy and in my case I ended up
rewriting the stuff in c++.

By the way: C-code generation for scilab is planned for scilab 6.1. I
´m looking foreward to this feature!

antti...@intopalo.com

okunmadı,
15 Ara 2015 05:32:0415.12.2015
alıcı
I'm also interested on this. If the feature is not supported, could you please explain what does the "Code generation" function from the Tools menu do then? It seems to generate C code, along with XXX_standalone.c

In the standalone.c code, it is said "To learn how to use the standalone code, type "./standalone -h" --which obviously is not possible as the standalone is not compiled executable (which I would like to do)!

I am unable to manually compile the standalone code, giving "collect2: error: ld returned 1 exit status". There is no Makefile generated, so I just tried to link it against all the libraries as follows:

gcc -L/pathto//scilab-5.5.2/lib/scilab/ -lall_thelibraries -I/pathto/scilab-5.5.2/include/scilab/ simulator_standalone.c


Thanks for any info!

- Antti




0 yeni ileti