I was curious if there was a way to directly send data to or get data from an "Inport" or "Outport" block from custom code written in a Simulink Coder block?
I'd like to use Simulink to create firmware for an embedded target, however, the Embedded Coder toolbox does not have support any of my embedded target's peripherals, hence I need to write custom C code to implement an interface to them.
Best Answer