Problems in Matlab to Scilab conversion

Eduardo Tarasiuk eduardo at softwork.co.il
Fri Feb 5 09:55:51 CET 2010


I am facing problems in the conversion of the most trivial Matlab
Problem to Scilab in version 5.2.

Version 5.1 works OK. I did not check a previous to 5.1 version.

The problem occurs in both interactive and mfile2sci call.

 

My System Environment is a clean (Op Sys +Scilab 5.2) Windows XP Service
Pack 3 system.

The problem can be replicated on every XP machine (I did not check on
Linux), even on a clean pristine XP installation.

Changing the TEMP directory, or  working as Local Administrator has no
any effect.

The directory SCI_TMP_1824 (see above) is created, and inside: an empty
resumelogfile.dat file a logfile and an empty Modelica directory.

 

 

It seems that it is a bug.

Was someone facing the same problem ?

 

 

Here the error message:

 

Startup execution:

  loading initial environment

   ****** Beginning of mfile2sci() session ******

  File to convert: D:/exe.m

  Result file path: D:/Program Files/scilab-5.2.0/

  Recursive mode: OFF

  Only double values used in M-file: NO

  Verbose mode: 3

  Generate formated code: NO

  M-file reading...

  M-file reading: Done

  Syntax modification...

  Syntax modification: Done

  Macro to tree conversion...

  Conversion of M-tree...

  Conversion of M-tree: Done

 !--error 240 

File "D:\DOCUME~1\taras\LOCALS~1\Temp\SCI_TMP_1824_\resumelogfile.dat"
already exists or directory write access denied.

 

at line     238 of function mfile2sci called by :  

at line     142 of function cb_m2sci_gui called by :  

dgcbo = gcbo; end;gcbo = getcallbackobject(13);cb_m2sci_gui;if
exists("%oldgcbo") then gcbo = 

while executing a callback

 

     Thanks for any reply

 

       Eduardo



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100205/7e397c3c/attachment.htm>


More information about the users mailing list