| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Parallel Computing Toolbox |
| Contents | Index |
| Learn more about Parallel Computing Toolbox |
d = size(obj)
[m,n] = size(obj)
[m1,m2,m3,...,mn] = size(obj)
m = size(obj,dim)
obj | An object or an array of objects. |
dim | The dimension of obj. |
d | The number of rows and columns in obj. |
m | The number of rows in obj, or the length of the dimension specified by dim. |
n | The number of columns in obj. |
m1,m2,m3,...,mn | The lengths of the first n dimensions of obj. |
d = size(obj) returns the two-element row vector d containing the number of rows and columns in obj.
[m,n] = size(obj) returns the number of rows and columns in separate output variables.
[m1,m2,m3,...,mn] = size(obj) returns the length of the first n dimensions of obj.
m = size(obj,dim) returns the length of the dimension specified by the scalar dim. For example, size(obj,1) returns the number of rows.
![]() | setupForParallelExecution | sparse | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |