Control iphone vibration from Matlab

Hello,
I am trying to turn on vibration when some sensor signals (angular velocity) of iPhone is higher than a threshold. But, I don't know how to control the vibration on iPhone from Matlab on PC.
Could you help me?
Thank you.

Answers (1)

You can use MATLAB to acquire accelerometer, magnetometer, gyroscope, location, and image data from built-in sensors on your iPhone or iPad using the iPhone and iPad Sensor Support package from MATLAB.
However using this, you may not be able to control the vibration of your iPhone. You can instead use the iPhone and iPad Support Package from MATLAB Coder to generate C code and integrate it into an iPhone or iPad app using Apple’s Xcode IDE.
Here's a reference to help you get started.

Categories

Find more on MATLAB Mobile in Help Center and File Exchange

Asked:

on 23 May 2021

Answered:

on 31 May 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!