Info

This question is closed. Reopen it to edit or answer.

When I use MatlabR2016a change the ".m" file to C++ or C code some errors occured. I use the method"mex -setup C++". When "Checking for Issiues" ,something wrong in "Generating trial code" like: Undefined function or variable.

1 view (last 30 days)
Undefined function or variable "Dxy". The first assignment to a local variable determines its class.
  1 Comment
José-Luis
José-Luis on 6 Jul 2017
You'd make it easier for people to help if you posted a minimum working example that reproduces your problem.
Otherwise, the error message is pretty straightforward. Dxy doesn't exist and you are trying to do something with it.

Answers (0)

Community Treasure Hunt

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

Start Hunting!