https://la.mathworks.com/help/slcontrol/ug/sltuner.writeblockvalue.html
writeBlockValue - Update block values in Simulink model - MATLAB
This MATLAB function writes tuned parameter values from the slTuner interface, st, to the Simulink model that st describes.
updateblockvaluessimulinkmodel