I' m unable to run cpp code in Matlab using mex command. I'm getting following errors.
Show older comments
Error combatgun2.c: 2280 undeclared identifier `new' Error combatgun2.c: 2280 operands of = have illegal types `pointer to COMBATSTATE' and `int' Warning combatgun2.c: 2280 possible usage of new before definition Error combatgun2.c: 2280 syntax error; found `COMBATSTATE' expecting `;'
What should I do? I tried alot. Thanks in advance.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!