I'm trying to programatically create several Matlab Function blocks to have their input set to the output of a Mux block, and their output set to the signal port of an Output Switch block.
I've created some basic Simulink models in the past using the add_block and add_line functions, but it seems Matlab Function blocks work differently.
I know what I'm trying to do can be achieved since I've done it manually, but I need to achieve this programatically to create large models.
Thanks!