See other catalogues for
The MathWorks
You may also be interested in
Text version of the page
| | | | | | | | | | |
| | | |
| | | Using Object Properties | | |
| | | |
| | | Finding All Enumerated Properties The get and set functions support enumerated values for properties for those applications that provide them. Use the set function to see which properties use enumerated types. For example, create an Excel® spreadsheet: h = actxserver('excel.application'); Type: h.set MATLAB displays: ans = Creator: {'xlCreatorCode'} ConstrainNumeric: {} CopyObjectsWithCells: {} Cursor: {4x1 cell} CutCopyMode: {2x1 cell} | | |
| | | |
| | | MATLAB displays the properties that accept enumerated types as nonempty cell arrays. In this example, Cursor and CutCopyMode accept a choice of settings. Properties for which there is only one possible setting are displayed as a one row cell array (see Creator, above). Use the get function to display the current values ofthese properties. Type: h.get MATLAB displays information such as: Creator: 'xlCreatorCode' ConstrainNumeric: 0 CopyObjectsWithCells: 1 Cursor: 'xlDefault' CutCopyMode: '' | | |
| | | |
| | | 9-31 | | |
| | | |
| | | | | | | | | | |