I want to add a block in a Simulink model named myModel.mdl. When I open the model and attempt to add a block using the following code:
open myModel.mdladd_block('simulink/Sources/In1','myModel/myin1')
I sometimes receive the following error:
??? There is no block named 'simulink/Sources/In1'
Best Answer