| 4629 | } |
| 4630 | |
| 4631 | bool matlab_struct::has_field ( |
| 4632 | const std::string& name |
| 4633 | ) const |
| 4634 | { |
| 4635 | if (struct_handle == 0) |
| 4636 | return false; |
| 4637 | return mxGetFieldNumber((const mxArray*)struct_handle, name.c_str()) != -1; |
| 4638 | } |
| 4639 | |
| 4640 | bool matlab_struct::sub::has_field ( |
| 4641 | const std::string& name |