Send data to Android app
Send data to a function in an Android app.
For example, suppose the following:
The block input is int32(ones(3,1))
The function name is ToAppFcn
Then, the expected function in the Android app would be:
public void ToAppFcn(int inData)
Where inData is an integer array of three elements.
The block input supports the following data types: uint8, int8, uint16, int16, uint32, int32, single, and double.
During simulations without hardware, this block does nothing. See Block Produces Zeros or Does Nothing in Simulation.