Ok I've gotten a little further and can now retreive the parameters. I just need to sort them so I only see the ones that have a source in the dialog
Here's how I did it:
dialog = get_param('testModel/Layer 1-1 (layer1-1)/Saturation (layer1-2)','DialogParameters');
fields = fieldnames(dialog);
for i=1:1:length(fields)
fields{i,2} = get_param('testModel/Layer 1-1 (layer1-1)/Saturation (layer1-2)',fields{i});
end;
and the output looks like this:
'UpperLimitSource' 'Dialog'
'UpperLimit' 'layer1_SaturationUpperLimit'
'LowerLimitSource' 'Dialog'
'LowerLimit' 'layer1_SaturationLowerLimit'
'LinearizeAsGain' 'on'
'ZeroCross' 'on'
'SampleTime' '-1'
'OutMin' '[]'
'OutMax' '[]'
'OutDataTypeStr' 'Inherit: Same as input'
'LockScale' 'off'
'RndMeth' 'Floor'
So I just need to pull off the 'UpperLimit' and 'LowerLimit' parameters and I'll have what I need.