MCPcopy Create free account
hub / github.com/davisking/dlib / example_class

Method example_class

dlib/matlab/example_mex_class.cpp:22–26  ·  view source on GitHub ↗

The class must have a default constructor. It's also the only kind of constructor you can call from MATLAB.

Source from the content-addressed store, hash-verified

20 // The class must have a default constructor. It's also the only kind of constructor
21 // you can call from MATLAB.
22 example_class()
23 {
24 xx.set_size(3,2);
25 xx = 1;
26 }
27
28 // The rest of the member functions that you want to bind have to return void and
29 // generally have the same syntax limitations as regular mex funcitons.

Callers

nothing calls this directly

Calls 1

set_sizeMethod · 0.45

Tested by

no test coverage detected