[Matlab] Fixed error reporting when importing Kinetics from a file
This commit is contained in:
parent
0b4af9ac0e
commit
6b569fcb22
1 changed files with 2 additions and 2 deletions
|
|
@ -24,10 +24,10 @@ void kineticsmethods(int nlhs, mxArray* plhs[],
|
|||
int in2 = getInt(prhs[5]);
|
||||
int in3 = getInt(prhs[6]);
|
||||
int in4 = getInt(prhs[7]);
|
||||
vv = (double) newKineticsFromXML(root, iph, in1, in2, in3, in4);
|
||||
int p = (int) newKineticsFromXML(root, iph, in1, in2, in3, in4);
|
||||
plhs[0] = mxCreateNumericMatrix(1,1,mxDOUBLE_CLASS,mxREAL);
|
||||
double* h = mxGetPr(plhs[0]);
|
||||
*h = vv;
|
||||
*h = (double) p;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue