problem with api_list.h
Yann Chapalain
yann.chapalain at gmail.com
Wed Apr 27 17:27:28 CEST 2011
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/20110427/83c154e0/attachment.htm>
More information about the users
mailing list