<div dir="ltr"><div>Does it mean that scilab no longer carry about interfacing with Fortran (if ever did it)? Modern Fortran is my prefered language for production codes.<br><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-06 14:28 GMT-03:00  <span dir="ltr"><<a href="mailto:shorne@energetiq.com" target="_blank">shorne@energetiq.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p><font face="sans-serif" size="2">I had looked up SWIG.  I have found no examples of connecting fortran to scilab using swig.</font><br>
<br>


</p><div id="m_-3489375786203898118cSec1"><a><img src="http:///icons/expand.gif" 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" border="0"></a><a><font color="#424282" face="sans-serif" size="2">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="m_-3489375786203898118xSec1"><a><img src="http:///icons/collapse.gif" 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" border="0"></a><a><font color="#424282" face="sans-serif" size="2">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 color="#5F5F5F" face="sans-serif" size="1">From:      </font><font face="sans-serif" size="1">Clément David <<a href="mailto:clement.david@scilab-enterprises.com" target="_blank">clement.david@scilab-<wbr>enterprises.com</a>></font><br>
<font color="#5F5F5F" face="sans-serif" size="1">To:        </font><font face="sans-serif" size="1">Users mailing list for Scilab <<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a>></font><br>
<font color="#5F5F5F" face="sans-serif" size="1">Cc:        </font><font face="sans-serif" size="1"><a href="mailto:shorne@energetiq.com" target="_blank">shorne@energetiq.com</a></font><br>
<font color="#5F5F5F" face="sans-serif" size="1">Date:      </font><font face="sans-serif" size="1">03/06/2017 03:54 AM</font><br>
<font color="#5F5F5F" face="sans-serif" size="1">Subject:   </font><font face="sans-serif" size="1">using intersci in 6.0.0 (was: Matlab vs Scilab perf; calling a fortran routine.)</font><br>
<hr style="color:#8091a5" align="left" noshade size="2" width="100%"><span class=""><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/" target="_blank">http://swig.org/</a></font></tt><tt><font size="2"><br>
<br>
Thanks,<br>
<br>
--<br>
Clément<br>
</font></tt><br>
</span></div>

<br>
<p></p></div><br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.scilab.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>