[scilab-Users] Re: Convert matlab m file to scilab sci format

Vincent COUVERT vincent.couvert at inria.fr
Fri Jun 27 13:42:35 CEST 2008


Hi,

I found the reason of your problem. In Scilab, function names can not 
begin with a digit and I think your m-file is named 3dinver.m. This 
morning, I made my test using a file called test.m. mfile2sci considers 
your script is a function with the same name as the file.

If you rename your file, it will work perfectly.

Vincent

Lester Anderson a écrit :
> Hi Vincent
>  
> Seems odd it works - and yet fails for me. I am using the Windows/XP 
> version of Scilab 4.1.2 would that make a difference? I just used the 
> Application option to do the convert
>  
> Not sure how to get around this problem. Obviously, I need to be able 
> to convert the matlab file so I can alter input components so it's 
> good to know how to get it working. Simple matlab files work ok as far 
> as I can see.
>  
> Could you upload the scilab version ? Still learning things here!
>  
> Lester
>  
>  

-- 
==============================================
Vincent COUVERT
Centre de Recherche INRIA Paris-Rocquencourt
Domaine de Voluceau - B.P. 105
78153 Le Chesnay Cedex
==============================================
Equipe Projet SCILAB
Bâtiment 1B - Bureau 013
Email : vincent.couvert at inria.fr
Tél : +33 (0)1 39 63 54 46
Fax : +33 (0)1 39 63 55 94
==============================================




More information about the users mailing list