With MathWorks Mobile Sensor Connectivity for iOS and android it is possible to get realtime sensor data from these devices. There is one problem: when multiple devices are simultaneously connected, the respective sensor data is not "separated" by channel, but all data is mixed together. For instance:
m = mobiledev
m.OrientationSensorEnabled = 1;
m.Logging = 1;
m.Logging = 0;
[o, to] = orientlog(m);
xlabel('Relative time (s)');
In the previous example two devices were active, as it can be seen, there is an unique timeseries containing samples from all the sources. How could I get separated channels, one for each device (to be controlled independently, one from the other)?