Re: [Scilab-users] GUIBUILDER problem!

2015-12-03 Thread petarf
Hi, Version of Scilab is 5.5.0 and GUIBUILDER is 2.2. Regards, Petar -- View this message in context: http://mailinglists.scilab.org/Re-GUIBUILDER-problem-tp4033157p4033167.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

[Scilab-users] Running external program

2015-12-03 Thread Lester Anderson
Hello, I have the windows version of Scilab (currently 5.4.1), but would like to run an external program (e.g. gmt software) and return or use the output in the Scilab code: As a rough algorithm example (.sce): //run the gmt program grdinfo.exe - extract data as single column z-matrix)

Re: [Scilab-users] Running external program

2015-12-03 Thread selieff
The command you want is 'dos': dos('grd2xyz faa.grd -ZTLa > faa.txt') If the command line is complex or needs to include names defined elsewhere, it is sometimes helpful to use msprintf to create the string first complex_command = msprintf(...) and then issue it using the string variable

Re: [Scilab-users] Running external program

2015-12-03 Thread Stefan Elieff
The command you want is 'dos': dos('grd2xyz faa.grd -ZTLa > faa.txt') If the command line is complex or needs to include names defined elsewhere, it is sometimes helpful to use msprintf to create the string first complex_command = msprintf(...) and then issue it using the string variable

Re: [Scilab-users] Running external program

2015-12-03 Thread Dang Ngoc Chan, Christophe
Hello, > De : Lester Anderson > Envoyé : jeudi 3 décembre 2015 16:56 > > dos('grdinfo FAA.grd -C | gawk "{nx=$10; ny=$11}; {print nx, ny}" > > nxy.txt','-echo') > !--error 3 Waiting for right parenthesis. In some cases, you need to use two quotes to tell that

Re: [Scilab-users] Running external program

2015-12-03 Thread Lester Anderson
Hello Stefan, Thanks for the pointers. I have tried with a small section of scripting: // Test script to launch and process GMT commands dos('grd2xyz FAA.grd -ZTLa -V > faa.txt','-echo') // works fine dos('grdinfo FAA.grd','-echo') // works fine dos('grdinfo FAA.grd -C | gawk "{nx=$10; ny=$11};

[Scilab-users] Atoms fail and changing SCIHOME

2015-12-03 Thread amonmayr
Hi all, We've just discovered that on scilab 5.5.2, atoms is not working on our Windows machines: atomsGUI() WARNING: mputl: Cannot open file \\servername\username\[..skipping some boring stuff...]\scilab-5.5.2\.atoms\config. It might be a problem with our setup where the homedir of our

Re: [Scilab-users] Running external program

2015-12-03 Thread Samuel Gougeon
Le 03/12/2015 17:47, Dang Ngoc Chan, Christophe a écrit : Hello, De : Lester Anderson Envoyé : jeudi 3 décembre 2015 16:56 dos('grdinfo FAA.grd -C | gawk "{nx=$10; ny=$11}; {print nx, ny}" > nxy.txt','-echo') !--error 3 Waiting for right parenthesis. In

Re: [Scilab-users] Atoms fail and changing SCIHOME

2015-12-03 Thread Samuel Gougeon
Hello, Le 03/12/2015 17:10, amonm...@laas.fr a écrit : Hi all, We've just discovered that on scilab 5.5.2, atoms is not working on our Windows machines: atomsGUI() WARNING: mputl: Cannot open file \\servername\username\[..skipping some boring stuff...]\scilab-5.5.2\.atoms\config. It