I am attempting to change the type of an inport programatically without the GUI to a bus type. I have a bus object called 'myBus' . I have an inport selected and I attempt the following in matlab:
Though I get the error: 'Invalid setting in Inport block 'myInport' for parameter 'DataType''
However, this does work for
Any idea how I can set a inport to a bus object without the GUI?