MATLAB: How to call structure value in simulink

MATLABsimulink

> Test_Structure
Test_Structure =
a: [10 20 30]
b: [50 60 70]
>> how to call above structure into simulink?

Best Answer

Simply put Test_Structure.a or Test_Structure.b in constant block to use their values.