%% Extract Data from Specific Model in Sparse First-Order Model Array
% For this example, extract sparse matrices for a specific sparse first-order state-space model contained in the 3x1 array of sparse first-order models sys3.
% Load the data and extract the sparse matrices of the second model in the array.

load('sparseFOData.mat','sys3');
size(sys3)
[A,B,C,D,E] = sparssdata(sys3,1,2);

% Copyright 2020 The MathWorks, Inc.