<html><body>
<p><font size="2" face="sans-serif">I had looked up SWIG.  I have found no examples of connecting fortran to scilab using swig.</font><br>
<br>

<script language="JavaScript" type="text/javascript">
<!-- 
function _dSectionExpand(sec) {
         document.getElementById("cSec"+sec).style.display = "none";
         document.getElementById("xSec"+sec).style.display = "block";
}
function _dSectionCollapse(sec) {
         document.getElementById("xSec"+sec).style.display = "none";
         document.getElementById("cSec"+sec).style.display = "block";
}
// -->
</script>
<div id="cSec1"><a href="javascript:_dSectionExpand('1')" onclick="return _dSectionExpand('1');"><img src="/icons/expand.gif" border="0" alt="Show details for Clément David ---03/06/2017 03:54:24 AM---> While I'm on the subject, the old  Intersci system was a very convenient way to automatically > ge"></a><a onclick="return _dSectionExpand('1');"><font size="2" color="#424282" face="sans-serif">Clément David ---03/06/2017 03:54:24 AM---> While I'm on the subject, the old  Intersci system was a very convenient way to automatically > ge</font></a></div><div id="xSec1"><a href="javascript:_dSectionCollapse('1')" onclick="return _dSectionCollapse('1');"><img src="/icons/collapse.gif" border="0" alt="Hide details for Clément David ---03/06/2017 03:54:24 AM---> While I'm on the subject, the old  Intersci system was a very convenient way to automatically > ge"></a><a onclick="return _dSectionCollapse('1');"><font size="2" color="#424282" face="sans-serif">Clément David ---03/06/2017 03:54:24 AM---> While I'm on the subject, the old  Intersci system was a very convenient way to automatically > ge</font></a><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:      </font><font size="1" face="sans-serif">Clément David <clement.david@scilab-enterprises.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">Users mailing list for Scilab <users@lists.scilab.org></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Cc:        </font><font size="1" face="sans-serif">shorne@energetiq.com</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:      </font><font size="1" face="sans-serif">03/06/2017 03:54 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:   </font><font size="1" face="sans-serif">using intersci in 6.0.0 (was: Matlab vs Scilab perf; calling a fortran routine.)</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt><font size="2">> While I'm on the subject, the old  Intersci system was a very convenient way to automatically<br>
> generate the interface routine between scilab and an arbitrary fortran subroutine.  There seems<br>
> not to be recent documentation on doing the same (specifically for fortran).  Or am I missing<br>
> something?   I've had to use the "call" interface to use old code.  Is there a better way?<br>
<br>
In Scilab 6.0.0, we did not reproduce and intersci code generation as this is handled by another<br>
tool called `SWIG` [1] for multiple scripting (or not) languages. This idea is to let the tool parse<br>
an C interface description (similar to a .h file with directives) and generate the wrapper code for<br>
a specific language.<br>
<br>
Scilab is natively supported and the tool generates API Scilab code. IMHO this is way simpler to<br>
define in interface just writing C code instead of guessing what's the intersci encoding scheme :)<br>
for a specific parameter.<br>
<br>
[1]: </font></tt><tt><font size="2"><a href="http://swig.org/">http://swig.org/</a></font></tt><tt><font size="2"><br>
<br>
Thanks,<br>
<br>
--<br>
Clément<br>
</font></tt><br>
</div>
<script language="JavaScript" type="text/javascript">
<!-- 
_dSectionExpand('1');
// -->
</script>
<br>
</body></html>