Send data to a method of the app
Send data to a method defined in the Apple iOS app’s
For example, suppose the following:
The block input is
The method name is
Then, the expected method in the Apple iOS app would be:
-(void) ToAppFcn: (int*) inData
inDatais an integer array of three elements.
The block supports the following input data types:
During simulations without hardware, this block does nothing. See Block Produces Zeros or Does Nothing in Simulation (Simulink).
Specify the name of a method in the Apple iOS app. The method must accept the data type of the block output data.