To be able to develop Scilab interface in C++
Sylvestre Ledru
sylvestre.ledru at scilab.org
Fri Aug 29 13:55:27 CEST 2008
Hello,
I answer here because others might be interested.
Yann, I noticed your change on the wiki:
http://wiki.scilab.org/Ideas_of_development_for_Scilab?action=diff&rev2=36&rev1=35
It is already possible and pretty easy. For example, if you have a look
to this code:
http://viewvc.scilab.org/bin/cgi/viewvc.cgi/trunk/scilab/modules/helptools/sci_gateway/cpp/sci_buildDoc.cpp?revision=27036&view=markup
You will see this pure C++ code:
if (doc->setOutputDirectory(outputDirectory))
{
doc->setWorkingLanguage(language);
doc->setExportFormat(exportFormat);
doc->process(masterXML, styleSheet);
LhsVar(1) = 0;
C2F(putlhsvar)();
}
[...]
By the way, this code shows how easy it is to map a Java Method into
Scilab (thanks to GIWS [1]).
I started a doc on this:
http://wiki.scilab.org/Call_a_Java_object_from_Scilab
I will add examples when I have the time for it.
Sylvestre
[1] http://www.scilab.org/giws/
More information about the dev
mailing list