Control iphone vibration from Matlab

4 次查看(过去 30 天)
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.

回答(1 个)

Rishik Ramena
Rishik Ramena 2021-5-31
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Mobile 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by