| 176 | } |
| 177 | |
| 178 | void Table::getNumRows(libmexclass::proxy::method::Context& context) { |
| 179 | namespace mda = ::matlab::data; |
| 180 | mda::ArrayFactory factory; |
| 181 | const auto num_rows = table->num_rows(); |
| 182 | auto num_rows_mda = factory.createScalar(num_rows); |
| 183 | context.outputs[0] = num_rows_mda; |
| 184 | } |
| 185 | |
| 186 | void Table::getNumColumns(libmexclass::proxy::method::Context& context) { |
| 187 | namespace mda = ::matlab::data; |