--> atomsInstall("scetoexe")
example to embed a .sce in a windows .exe see demo and example directory Scilab >= 5.3 installed required
Upload date : 2010-11-29 10:28:53 MD5 : 910fffe5fb6bffe09501f5a24dae7b58 SHA1 : 0e7afa7b64353253fd0e8f0f014222faf168e5e3 Downloads : 547 File list
Windows 32-bit Automatically generated by the ATOMS compilation chain
Upload date : 2010-11-29 10:49:51 MD5 : 2539afccf580b33081017090257fa778 SHA1 : 995fe82ce8099c66fd21b7c1b09307baf73d842a Downloads : 1582 File list
Thank you Allan for this useful tool. It works, but I copied my .exe file to another computer where Scilab is not installed and it didn't run. Is there an extra step that I have to do on Visual Studio Express 2008 to create it or I should install Scilab in every computer where I want to run my code? Thank you!
> Thank you Allan for this useful tool. It works, but I copied my .exe file to another > computer where Scilab is not installed and it didn't run. > > Is there an extra step that I have to do on Visual Studio Express 2008 to create it or > I > should install Scilab in every computer where I want to run my code? > > Thank you! > with this tools, you need to install scilab where you want to run your code Allan
Hello, I'd like to know if there is (or will exist) a tool to create an executable file direct from scilab, which could be executed without the necessity of scilab installed, just like other compilers as c++ builder. Thank you very much.
Hi, I attempted to install scetoexe through atoms today and it was unable to find it. So I checked the atoms list with the atomsList command and I couldn't find it. Is the module no longer being supported? Thanks David
Hi, For me, it right appears in the ATOMS GUI of my Scilab 5.3.3 / winXP, in the Scilab development category. However, some strange behaviours have been reported about modules appearing or/and disappearing in the list of available ones: For instance, see http://bugzilla.scilab.org/show_bug.cgi?id=9076 Samuel
Hi, I installed Scilab on my wife's computer, winXp. And as Samuel said it appears in the Scilab development category on her computer. The only main difference between my and her computer is I am running Windows 7 64 bit, and she has winXp. Thanks, David
> Hi, > I installed Scilab on my wife's computer, winXp. And as Samuel said it appears in the > Scilab development category on her computer. The only main difference between my and > her > computer is I am running Windows 7 64 bit, and she has winXp. > Thanks, David See availabity ;) current version packaged only for Windows not Windows 64 Allan
Actually you can run it in Win 64bit, since you use the scilab 32bit version :) It does really work. Thanks for such usefull tool!
sry. how to use this atoms. i try but no result for me.. am han amateur user to scilab
Is it possible to make exe of scilab code for function. (say like function[x]=test_fn(inp1,inp2)) I want to run this function from command line is it possible? If yes then could you please let me know how?
This comment has been deleted.
Hello, I have created a .sce and would like to make it a "blackbox" for the users. That's why I'm looking for a way to make a .exe from my .sce. I don't get how scetoexe works. Could you please explain the steps to follow to make it work? Thank you! Rémi
Hello, > I don't get how scetoexe works. Could you please explain the steps to follow to make it work? You should have a look at the example: ~\demos\example.sce is processed by the script ~\demos\scetoexe.dem.sce A C compiler Visual Studio must be installed to run scetoexe. Hope this helps Samuel
Hello, Thank you Samuel for your help. I tried to run scetoexe on the example and still I don't manage to make it work. Here is how I proceed : First I launch every .sci from the file "scetoexe_0.1/macros". Then I launch "scetoexe.dem.sce". And I get this error message : -->exec('C:\Documents and Settings\rantoine\Desktop\scetoexe_0.1-4.bin.windows\scetoexe_0.1\demos\scetoexe.dem.sce', -1) !--error 999 libraryinfo : Bibliothèque invalide scetoexelib. at line 2 of function scetoexe_getRootPath called by : scetoexe_generate(scetoexe_getRootPath() + "/demos/example.sce", TMPDIR + "/example"); at line 5 of exec file called by : exec('C:\Documents and Settings\rantoine\Desktop\scetoexe_0.1-4.bin.windows\scetoexe_0.1\demos\scetoexe.dem.sce', -1) Thank you, Rémi
Hi Rémi, As for any external toolbox set manually, you must 1) unzip it, and put its directory as a subdir of SCI\contrib 2) quit scilab and restart it. Then in the Console you should have a Toolboxes menu (Modules, in french). You should see in it all external toolboxes set in SCI\contrib\* and not autoloaded through the ATOMS protocol (the ATOMS modules are also installed in SCI\contrib\). 3) Just select scetoexe. This exec the SCI\contrib\scetoexe\loader.sce file that declares all macros in a library, thanks to ~\SCI\contrib\scetoexe \etc\scetoexe.start called by loader.exe Then the macros, the help pages, the demos... become usable. This should help you using it ;) Regards Samuel
Hello Samuel, thank you once again for your help! I can't copy/paste "scetoexe_0.1" into "SCI\contrib" : the access is denied. I think this is because "SCI\contrib" is in read only mode but I can't switch it. Regards, Rémi
> I can't copy/paste "scetoexe_0.1" into "SCI\contrib" : the access is > denied. I think this is because "SCI\contrib" is in read only mode but > I can't switch it. OK, so just exec("loader.sce") wherever the loader.sce is will load the module as if you would use the menu
Hello, Sorry for bothering you Samuel! If I just execute loader.sce (without doing anything else) here is the error message I get : -->exec('C:\Documents and Settings\rantoine\Local Settings\Temp\Répertoire temporaire 1 pour scetoexe_0.1-4.bin.windows.zip\scetoexe_0.1\loader.sce', -1) exec(get_absolute_file_path("loader.sce")+"etc\"+"scetoexe.start"); !--error 241 Le fichier "C:\Documents and Settings\rantoine\Local Settings\Temp\Répertoire temporaire 1 pour scetoexe_0.1-4.bin.windows.zip\scetoexe_0.1\etc\scetoexe.start" n'existe pas. at line 10 of exec file called by : exec('C:\Documents and Settings\rantoine\Local Settings\Temp\Répertoire temporaire 1 pour scetoexe_0.1-4.bin.windows.zip\scetoexe_0.1\loader.sce', -1) I don't know if you get the few french words? Thank you for your help!Have you been working with Scilab for a long time? Regards, Rémi
Hello Rémi, I am afraid that this has nothing to do with scetoexe. You would be kind to contact me in french on my email (at the bottom of the page. I do not have yours in the list) to fix your issue. For the time being, i assume that you have checked that C:\Documents and Settings\rantoine\Local Settings\Temp\Répertoire > temporaire 1 > pour scetoexe_0.1-4.bin.windows.zip\scetoexe_0.1\etc\scetoexe.start actually exists. Have you? In your email, please give the result of dir "C:\Documents and Settings\rantoine\Local Settings\Temp\Répertoire temporaire 1 pour scetoexe_0.1-4.bin.windows.zip\scetoexe_0.1" Read you soon Regards Samuel
Hi everyone, I have been trying to convert a .sce file to an .exe file from some time. However, it gives error undefined variable in all cases. Can anyone clearly tell the steps to convert (including syntax in layman terms please) from .sce to .exe. The help part is not very clear for understanding the exact syntax. I would be highly obliged.
Hi everyone, I am trying to make an exe file in Scilab 6.0.0 but facing the below error. I downloaded the 0.1.1. version of sce to exe toolbox and installation was done successfully but while loading the toolbox ,below error is coming. Start sce to exe Toolbox Load macros atomsLoad: An error occurred while loading 'scetoexe-0.1.1': lib: C:\Users\ROHIT~1.GUP\AppData\Local\SCILAB~1.0\contrib\scetoexe\0126D9~1.1\macros\ is not a valid lib path. Can someone help with this problem? Regards Rohan