%% Save and Access Non-Default HDL Parameters in a Structure Array
% This example shows how to save non-default HDL model and block parameters 
% in a structure array and access individual parameters.

%% Open the model
sfir_single
sim('sfir_single')
%% Save HDL Model and Block parameters
hparams = hdlsaveparams('sfir_single/symmetric_fir');
%% View and Access Block Parameters
hparams
%%
% To see specific non-default parameters saved in the structure, you can 
% access individual elements of the structure.
hparams(2)
%%
% To view the parameters and values specified for the model, in the
% MATLAB(TM) Worksplace, double-click the |hparams| variable. You see the
% fields of the structure array and the corresponding values in the MATLAB
% Editor.
%
% <<../hparams_fields.png>>


