Re: [Scilab-users] I find problem to run Scilab demonstration examples on Scilab 5.4.1 over Mac OS X Mavericks.

2013-10-28 Thread Paul BIGNIER

Hi Reinaldo,

Could you please test the Xcos - Modelica, Xcos - Electrical Systems 
and Xcos - Control Systems demos and tell us which ones work and which 
ones don't?


We would be more able to target your problem then.

Thank you,
Paul.

On 10/27/2013 10:33 PM, Reinaldo wrote:

Hi Scilab users,

I find problem to run Scilab demonstration examples on Scilab 5.4.1 
over Mac OS X Mavericks. I had the same problem

when I had Mac OS X 10.8.x.

I have the newest Xcode 5.0.1 for Mac OS X Mavericks.

For example, I had problem to run Xcos-Electrical system- RLC circuit.

The result is:

\
 Main Modelica : 
/private/var/folders/2f/h_gm23n545z04r1nxczf1jq8gn/T/SCI_TMP_2701_29yEL1/RLC_Modelica_im.mo


 Flat Modelica : 
/private/var/folders/2f/h_gm23n545z04r1nxczf1jq8gn/T/SCI_TMP_2701_29yEL1/RLC_Modelica_imf.mo
 Simulation C code 
:/private/var/folders/2f/h_gm23n545z04r1nxczf1jq8gn/T/SCI_TMP_2701_29yEL1/RLC_Modelica_im.c

   Gerar um arquivo de carga
   Gerar um Makefile
   ilib_gen_Make: Copia os arquivos de compilação (Makefile*, 
libtool...) para TMPDIR

   ilib_gen_Make: Copia RLC_Modelica_im.c para TMPDIR
   ilib_gen_Make: Configurar: Gerar Makefile.
   ilib_gen_Make: Modificação do Makefile em TMPDIR.
   Executando o Makefile
!sorry compiling problem   
   !

!   !
! Function not defines por the data types of arguments!
!   !
!  verify the arguments or define the function %s_grep for overload.  !
c_pass1: build the modelica meta-block failed
 xcos_simulate: Error during updating the parameter blocks.

Thank you in advance.

All best,
Reinaldo.


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



--
Paul BIGNIER
Scilab Engineer  Xcos Developer
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.69
http://www.scilab-enterprises.com

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Batch to export a graph to PNG automatically

2013-10-28 Thread eleo
Hello,

I have written the program attached below in order to plot and export a
simple graph (y=cos(x)) in the PNG Format.


current_driver = driver()
driver(PNG)
xinit(TMPDIR+/file.png)
x=-10:0.25:10
y=cos(x)
plot2d(x,y,2)
xend();
driver(current_driver)


I have obtained the following message:


xend();
   !--error 999 
xend: An error occurred: Unable to create export file, permission denied.
at line   7 of exec file called by :
   exec(%fileToExec); disp(msprintf(gettext(Execution
done.\n
while executing a callback


If I change the path where I want the file to be written (for instance I
want to write it in Document), I obtain the same message.
How can I modify this program in order to export the file in PNG Format ok ?

Thank you for your help.

Regards,

Eleo




--
View this message in context: 
http://mailinglists.scilab.org/Scilab-users-Batch-to-export-a-graph-to-PNG-automatically-tp4027719p4027738.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Batch to export a graph to PNG automatically

2013-10-28 Thread Samuel Gougeon

Hello,

In windows mode, have you tried with xs2png() in the TMPDIR or elsewhere?

Samuel
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] I find problem to run Scilab demonstration examples on Scilab 5.4.1 over Mac OS X Mavericks.

2013-10-28 Thread Reinaldo
Hi Paul,

Examples don't work: Xcos-Modelica-(all examples)  Xcos-Electrical 
Systems-(all examples), and the
error messages are the same which I reported before.

Examples work: Xcos-Control Systems-(all examples)

I would like to tell you that when I click to Scilab 5.4.1, appears the 
message: This version of Scilab will probably fail on
this system (10.9): Scilab requires 10.6.5 (Snow Leopard) or newer system. And 
then when I click to Try anyway, appears
new icon called Scilab-bin.

All best,
Reinaldo.



Em Segunda-feira, 28 de Outubro de 2013 9:19, Paul BIGNIER 
paul.bign...@scilab-enterprises.com escreveu:
 
Hi Reinaldo,

Could you please test the Xcos - Modelica, Xcos -
  Electrical Systems and Xcos - Control Systems demos and tell
  us which ones work and which ones don't?

We would be more able to target your problem then.

Thank you,
Paul.

On 10/27/2013 10:33 PM, Reinaldo wrote:

Hi Scilab users,


I find problem to run Scilab demonstration examples on Scilab 5.4.1 over Mac 
OS X Mavericks. I had the same problem

when I had Mac OS X 10.8.x.


I have the newest Xcode 5.0.1 for Mac OS X Mavericks.


For example, I had problem to run Xcos-Electrical system- RLC circuit.


The result is:


\
 Main Modelica :
/private/var/folders/2f/h_gm23n545z04r1nxczf1jq8gn/T/SCI_TMP_2701_29yEL1/RLC_Modelica_im.mo


 Flat Modelica :
/private/var/folders/2f/h_gm23n545z04r1nxczf1jq8gn/T/SCI_TMP_2701_29yEL1/RLC_Modelica_imf.mo
 Simulation C code
:/private/var/folders/2f/h_gm23n545z04r1nxczf1jq8gn/T/SCI_TMP_2701_29yEL1/RLC_Modelica_im.c
   Gerar um arquivo de carga
   Gerar um Makefile
   ilib_gen_Make: Copia os arquivos de compilação (Makefile*, libtool...) para 
TMPDIR
   ilib_gen_Make: Copia RLC_Modelica_im.c para TMPDIR
   ilib_gen_Make: Configurar: Gerar Makefile.
   ilib_gen_Make: Modificação do Makefile em TMPDIR.
   Executando o Makefile
 
!sorry compiling problem                                                  !
!                                                                         !
! Function not defines por the data types of arguments    !
!                                                                         !
!  verify the arguments or define the function %s_grep for overload.  !
c_pass1: build the modelica meta-block failed 
 
 xcos_simulate: Error during updating the parameter blocks.   


Thank you in advance.


All best,
Reinaldo.


___
users mailing list users@lists.scilab.org 
http://lists.scilab.org/mailman/listinfo/users 


-- 
Paul BIGNIER
Scilab Engineer  Xcos Developer
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.69 http://www.scilab-enterprises.com___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users