Open KrisThielemans opened 2 years ago
For a module called swigexample
swigexample
swig -matlab example.i
generates example_wrap.cxx, a folder +swigexample, and m files calling swigexampleMEX.
example_wrap.cxx
+swigexample
m
swigexampleMEX
This means that either you have to use mex example_wrap.cxx -output swigexampleMEX, or use swig -mexname example_wrap or use swig -o swigexampleMEX.cxx
mex example_wrap.cxx -output swigexampleMEX
swig -mexname example_wrap
swig -o swigexampleMEX.cxx
For a module called
swigexample
generates
example_wrap.cxx
, a folder+swigexample
, andm
files callingswigexampleMEX
.This means that either you have to use
mex example_wrap.cxx -output swigexampleMEX
, or useswig -mexname example_wrap
or useswig -o swigexampleMEX.cxx