<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You will need to get the code from the repository.<br>
Have a look here:
<a class="moz-txt-link-freetext" href="http://mlmechtrade.svn.sourceforge.net/viewvc/mlmechtrade/trunk/ta-lib/">http://mlmechtrade.svn.sourceforge.net/viewvc/mlmechtrade/trunk/ta-lib/</a><br>
<br>
To get the code:<br>
<br>
<code>svn co
<a class="moz-txt-link-freetext" href="https://mlmechtrade.svn.sourceforge.net/svnroot/mlmechtrade/trunk/ta-lib">https://mlmechtrade.svn.sourceforge.net/svnroot/mlmechtrade/trunk/ta-lib</a>
mlmechtrade</code><br>
<br>
Then, you have to convert all the C mexfunctions into scilab C gateway
functions.<br>
<br>
YC<br>
<br>
Le 21/09/2010 12:27, Laurent Alebarde a écrit :
<blockquote cite="mid:4C988886.1080807@free.fr" type="cite">
  <pre wrap=""> Hi all,
I am trying to port the "Mechanical trading systems" toolbox
(<a class="moz-txt-link-freetext" href="https://sourceforge.net/projects/mlmechtrade/">https://sourceforge.net/projects/mlmechtrade/</a>) 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
(<a class="moz-txt-link-freetext" href="http://wiki.scilab.org/mattosci/toolbox">http://wiki.scilab.org/mattosci/toolbox</a>,
<a class="moz-txt-link-freetext" href="http://www.scilab.org/product/man/mfile2sci.html">http://www.scilab.org/product/man/mfile2sci.html</a>) 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.
  </pre>
</blockquote>
<br>
</body>
</html>