I try to develop a code to acquire data from sensors. I want to use Matlab Mobile App. My question is that is possibile to acquire Data until (while cycle) I press "STOP" button in app. I try whit this code, but it dosen't work
clear allclose all clcm = mobiledev;m.AccelerationSensorEnabled = 1;m.AngularVelocitySensorEnabled = 1;m.Logging = true;while m.Logging [a,~] = accellog(m); [ang,~] = angvellog(m); end
Best Answer