Receive data from iOS app
Receive data from a method in the generated Apple iOS app’s
Configure the Method name, Data type, and Data size parameters to match those of the method.
For example, suppose that the method:
Returns three data elements each time it runs.
The data type of the elements is int32.
Method name to
Data size to
Data type to
The method in the iOS app must return a data type that this block can accept.
During simulations without hardware, this block outputs zeros. See Block Produces Zeros or Does Nothing in Simulation (Simulink).
The name of the method in the Apple iOS app’s
The data type of the elements returned by the method.
The number of data elements the method returns to the block each time it runs.
Specify how often the block reads the function.
Smaller values require the processor to complete the same number of instructions in less time, which can cause task overruns.