saveobj() and load_obj() are special functions. If you provide these then you will be able to save() and load() your objects using MATLAB's built in object serialization.
| 49 | // be able to save() and load() your objects using MATLAB's built in object |
| 50 | // serialization. |
| 51 | void saveobj(matrix_colmajor& state) |
| 52 | { |
| 53 | // save this object's state to state. |
| 54 | state = xx; |
| 55 | } |
| 56 | void load_obj(const matrix_colmajor& state) |
| 57 | { |
| 58 | xx = state; |
nothing calls this directly
no outgoing calls
no test coverage detected