Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How to display android sensor signal on Simulink scope?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
With the "Android Sensor Support from MATLAB" support, I can acquire the real-time sensor signal stream from my Android device. That means I get a variable "m" in workspace that represents my Android device. I can use "m.Orientation" to get the orientation of my smartphone for example. That means "m" is changing on every moment. Now I want to display for example "m.Orientation(1)" in Simulink's scope, how can I do it?
It seem that Simulink do not support import real-time changing variable from workspace. Because I have tried the "simin" block to import "m" into simulink. But once "m" is import, it stays static on the initial value. I don't know how to solve it.
I have also tried "Android Support from Simulink" support. But this support seems only can write the simulink model to your android phone. And on your phone you can see the sensor signal changes on the scope. But on simulink's scope, it shows nothing.
So repeat my question here: How to display android sensor signal on Simulink scope? If still use the "Android Sensor Support from MATLAB" or "Android Support from Simulink", can you tell me the detail of how to do? Thank you in advance.
0 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!