I discovered how to correct the error with the advice of a coworker. Essentially when I exported my Simulink parameter object and examined the code, it was labeled as a struct that output the desired bus object, but had none of the actual data information.
Normally, I would think Matlab would already link to the bus object that was specified and output the proper data fields, but apparently it does not.
My code looked like this:
Input = Simulink.Parameter;
saveVarsTmp{1} = struct;
saveVarsTmp{1}.flag = 0;
% No data in between these lines :(
Input.Value = saveVarsTmp{1};
Input.CoderInfo.StorageClass = 'Auto';
Input.CoderInfo.Alias = '';
Input.CoderInfo.Alignment = -1;
Input.CoderInfo.CustomStorageClass = 'Default';
Input.CoderInfo.CustomAttributes.ConcurrentAccess = false;
Input.Description = '';
Input.DataType = 'Bus: platformState_IO';
Input.Min = [];
Input.Max = [];
Input.DocUnits = '';
clear saveVarsTmp;
But the proper format should have been this:
Input = Simulink.Parameter;
saveVarsTmp{1} = struct;
saveVarsTmp{1}.flag = 0;
% -----------------------
saveVarsTmp{1}.data.dataName1= single(0); % single value data
saveVarsTmp{1}.data.dataName2= single(0); % single value data
saveVarsTmp{1}.data.dataName3= single( ...
[0; 0; 0]); % data with dimension of 3
% -----------------------
Input.Value = saveVarsTmp{1};
Input.CoderInfo.StorageClass = 'Auto';
Input.CoderInfo.Alias = '';
Input.CoderInfo.Alignment = -1;
Input.CoderInfo.CustomStorageClass = 'Default';
Input.CoderInfo.CustomAttributes.ConcurrentAccess = false;
Input.Description = '';
Input.DataType = 'Bus: platformState_IO';
Input.Min = [];
Input.Max = [];
Input.DocUnits = '';
clear saveVarsTmp;
After this, I imported the edited .m file back into my model workspace and immediately all errors went away.