[scilab-Users] problem with api_list.h
Allan CORNET
allan.cornet at scilab.org
Thu Apr 28 08:04:40 CEST 2011
Hi,
See :
<http://bugzilla.scilab.org/show_bug.cgi?id=7227>
http://bugzilla.scilab.org/show_bug.cgi?id=7227
current sendScilabJob function made to be used by a external program and not
by scilab.
Best regard
Allan
De : Yann Chapalain [mailto:yann.chapalain at gmail.com]
Envoyé : mercredi 27 avril 2011 17:27
À : users at lists.scilab.org
Objet : [scilab-Users] problem with api_list.h
Hello,
I try to create a MList like this :
SciErr _SciErr;
int * piMList = NULL;
_SciErr = createNamedMList(pvApiCtx, "Dakota", SCI_NUMBER_OF_FIELDS,
&piMList);
if (_SciErr.iErr)
{
Cerr << "Error (Direct:Scilab): 1 "<< std::endl;
printError(&_SciErr,0);
}
When I launch the code, there is no error seems to be happening.
After, I use SendScilabJob to take control of Scilab, and to test if the
MList was created ("who") :
SendScilabJob("pause;");
But, I constat that the MList Dakota was not created.
However, when I did the same manipulation with : _SciErr =
createNamedMatrixOfDouble(pvApiCtx, "Dakota", 1, 1, &tmp_dbl);
the MatrixOfDouble Dakota was created.
anybody knows where is the problem ?
Regards,
Yann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110428/1d41baa2/attachment.htm>
More information about the users
mailing list