Filter löschen
Filter löschen

error C2079: 'pm' uses undefined struct 'mxArray_tag'

7 Ansichten (letzte 30 Tage)
Peter Cotton
Peter Cotton am 15 Mär. 2011
I am clearly missing something silly here because I get the compiler error C2079: 'pm' uses undefined struct 'mxArray_tag'
#include <math.h>
#include <string.h>
#include <iostream>
#include "mex.h"
#include "matrix.h"
void sample(mxArray* X,mxArray* Y){
// does nothing
mxArray pm;
}

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 15 Mär. 2011
It should be:
mxArray* pm;
You're missing a *

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by