Complete the code to open the Simulink library browser.
open_system('[1]')
Use open_system('simulink') to open the Simulink library browser.
Complete the code to create a new Simulink model named 'myModel'.
new_system('[1]')
Use new_system('myModel') to create a new model named 'myModel'.
Fix the error in the code to add a Gain block to the model 'myModel'.
add_block('[1]', 'myModel/Gain')
The correct path to the Gain block is 'simulink/Math Operations/Gain' with lowercase 's'.
Fill both blanks to connect two blocks named 'Gain' and 'Sum' in the model 'myModel'.
add_line('myModel', '[1]', '[2]')
Use 'Gain/1' as the source port and 'Sum/1' as the destination port to connect the first output of Gain to the first input of Sum.
Fill all three blanks to set the Gain block's gain value to 5 in the model 'myModel'.
set_param('[1]', '[2]', '[3]')
Use set_param('myModel/Gain', 'Gain', '5') to set the gain value to 5.
