matlab (.m headers + .mexw64) to scilab ?

Laurent Alebarde l.alebarde at free.fr
Tue Sep 21 12:27:18 CEST 2010


 Hi all,
I am trying to port the "Mechanical trading systems" toolbox
(https://sourceforge.net/projects/mlmechtrade/) to scilab. It is
composed of .m header files along with companions .mexw64 files.

Example :
# cat TA_WILLR.m
function outReal = TA_WILLR ( high, low, close, TimePeriod )
%
% Williams' %R
%
% Required input parameters
%    high
%    low
%    close
%
% Optional input parameters
%    optInTimePeriod: (Range from 2 to 100000) Description: Number of period
%
% Output
%    outReal
%
% See also: ta-lib

The companion file is : TA_WILLR.mexw64

I read the doc for porting matlab mex files or m files
(http://wiki.scilab.org/mattosci/toolbox,
http://www.scilab.org/product/man/mfile2sci.html) but I am a bit lost :

mfile2sci says it has nothing to translate. For the mex, I had a look on
the examples, but I am lost.

Could someone give me the insight in what I shall do ?

Regards,

Laurent.



More information about the users mailing list