How to initialize an mxArray **

8 visualizaciones (últimos 30 días)
Steven Joseph Ceniza
Steven Joseph Ceniza el 21 de Feb. de 2018
Comentada: Steven Joseph Ceniza el 22 de Feb. de 2018
One of the parameters of the function that was compiled by matlab compiler has an mxArray , how do I set up one? Because the generated output has erroneous values.

Respuesta aceptada

Kojiro Saito
Kojiro Saito el 21 de Feb. de 2018
I think this document would help.
mxArray should be defined as a pointer.
mxArray *a;
  1 comentario
Steven Joseph Ceniza
Steven Joseph Ceniza el 22 de Feb. de 2018
Thank you very much, apparently the parameter with the data type of mxArray was the output of the function. Though this part of my source code has been rectified the output of the function still resulted with erroneous output. Does it have to do with the large matrices input? Currently I have a 97320240 x 14 matrix.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler SDK en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by