Problems with "Matlab to Scilab translator" application

classic Classic list List threaded Threaded
2 messages Options
Hermes Hermes
Reply | Threaded
Open this post in threaded view
|

Problems with "Matlab to Scilab translator" application

good morning,
I'm presenting problems with "Matlab to Scilab translator" application.
Even taking the example of the help page for the mfile2sci function.
The result, always, is the screen prompt: "Undefined variable: _str2code"
  I show two runs:
1----
mfile2sci(TMPDIR + "/rot90.m",TMPDIR)
  ****** Beginning of mfile2sci() session ******
  File to convert: C:/Users/hermesr/AppData/Local/Temp/SCI_TMP_10544_24520/rot90.m
  Result file path: C:/Users/hermesr/AppData/Local/Temp/SCI_TMP_10544_24520/
  Recursive mode: OFF
  Only double values used in M-file: YES
  Verbose mode: 3
  Generate formated code: NO
  M-file reading...
  M-file reading: Done
  Syntax modification...
at line   140 of function m2sci_syntax ( C:\Program Files\scilab-6.0.0\modules\m2sci\macros\kernel\m2sci_syntax.sci line 153 )
at line   140 of function mfile2sci    ( C:\Program Files\scilab-6.0.0\modules\m2sci\macros\mfile2sci.sci line 153 )

Undefined variable: _str2code

2------
****** Beginning of mfile2sci() session ******
  File to convert: C:/Users/hermesr/Documents/Scilab Xcos/FORUMs/FFT_a_scilab.m
  Result file path: C:/Users/hermesr/Documents/Scilab Xcos/FORUMs/
  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...
at line   140 of function m2sci_syntax ( C:\Program Files\scilab-6.0.0\modules\m2sci\macros\kernel\m2sci_syntax.sci line 153 )
at line   140 of function mfile2sci    ( C:\Program Files\scilab-6.0.0\modules\m2sci\macros\mfile2sci.sci line 153 )
at line   147 of function cb_m2sci_gui ( C:\Program Files\scilab-6.0.0\modules\m2sci\macros\cb_m2sci_gui.sci line 163 )

Undefined variable: _str2code

Any suggestions?
Thank you, GRACIAS
Hermes
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Problems with "Matlab to Scilab translator" application

Hello Hermes,

Please see
http://mailinglists.scilab.org/Scilab-users-scilab-6-mfile2sci-fails-tt4035737.html
http://bugzilla.scilab.org/15053
http://bugzilla.scilab.org/15220
http://www.scilab.org/en/development/nightly_builds/branch60

Regards
Samuel

Le 21/08/2017 à 09:45, Hermes a écrit :

> good morning,
> I'm presenting problems with "Matlab to Scilab translator" application.
> Even taking the example of the help page for the mfile2sci function.
> The result, always, is the screen prompt: "Undefined variable: _str2code"
>    I show two runs:
> 1----
> mfile2sci(TMPDIR + "/rot90.m",TMPDIR)
>    ****** Beginning of mfile2sci() session ******
>    File to convert:
> C:/Users/hermesr/AppData/Local/Temp/SCI_TMP_10544_24520/rot90.m
>    Result file path: C:/Users/hermesr/AppData/Local/Temp/SCI_TMP_10544_24520/
>    Recursive mode: OFF
>    Only double values used in M-file: YES
>    Verbose mode: 3
>    Generate formated code: NO
>    M-file reading...
>    M-file reading: Done
>    Syntax modification...
> at line   140 of function m2sci_syntax ( C:\Program
> Files\scilab-6.0.0\modules\m2sci\macros\kernel\m2sci_syntax.sci line 153 )
> at line   140 of function mfile2sci    ( C:\Program
> Files\scilab-6.0.0\modules\m2sci\macros\mfile2sci.sci line 153 )
>
> Undefined variable: _str2code
>
> 2------
> ****** Beginning of mfile2sci() session ******
>    File to convert: C:/Users/hermesr/Documents/Scilab
> Xcos/FORUMs/FFT_a_scilab.m
>    Result file path: C:/Users/hermesr/Documents/Scilab Xcos/FORUMs/
>    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...
> at line   140 of function m2sci_syntax ( C:\Program
> Files\scilab-6.0.0\modules\m2sci\macros\kernel\m2sci_syntax.sci line 153 )
> at line   140 of function mfile2sci    ( C:\Program
> Files\scilab-6.0.0\modules\m2sci\macros\mfile2sci.sci line 153 )
> at line   147 of function cb_m2sci_gui ( C:\Program
> Files\scilab-6.0.0\modules\m2sci\macros\cb_m2sci_gui.sci line 163 )
>
> Undefined variable: _str2code
>
> Any suggestions?
> Thank you, GRACIAS
> Hermes
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Problems-with-Matlab-to-Scilab-translator-application-tp4036899.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users
>

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users