I am making a testing tool in which I need to detect the data type of signals coming out of Inports as well as data type of signals feeding Outports. I require to do this via MATLAB code.
Is there any command or method via which we can get details of data type of any link between two blocks of SIMULINK model to our MATLAB code?
to filter out Inports and outports you can use find_sys() and to get their data types, for every inport or outport block use
get_param('Inport or Outport Block Name','OutDataTypeStr')
Play games and win prizes!Learn more