| 42 | } |
| 43 | |
| 44 | void Type::getNumFields(libmexclass::proxy::method::Context& context) { |
| 45 | namespace mda = ::matlab::data; |
| 46 | mda::ArrayFactory factory; |
| 47 | |
| 48 | auto num_fields_mda = factory.createScalar(data_type->num_fields()); |
| 49 | context.outputs[0] = num_fields_mda; |
| 50 | } |
| 51 | |
| 52 | void Type::getFieldByIndex(libmexclass::proxy::method::Context& context) { |
| 53 | namespace mda = ::matlab::data; |
nothing calls this directly
no test coverage detected