%% Confirm Number of Models in Array
% Create a 2-by-3-by-4 array of state-space models.

sysarr = rss(2,2,2,2,3,4);

%
% Confirm the number of models in the array.

N = nmodels(sysarr)

% Copyright 2012 The MathWorks, Inc.