MATLAB Answers

matlab android interfacing and reading values in real time

4 ビュー (過去 30 日間)
Farhan Farooq
Farhan Farooq 2015 年 11 月 25 日
回答済み: saras 2016 年 12 月 27 日
i am reading real time accelaration and angular velocities values from my android phone and saved them to variables like a and b respectively. i ve created a m file and put an un ending while loop to read the data. so far things are going good. but now i want to view my values in simulink on scope in real time how can i run my simulation in a loop.. i mean to say the simulation runs only once and then ends so how to make it run continously. thanks
  1 件のコメント
sam  smart
sam smart 2016 年 12 月 27 日
can you provide me code?

サインインしてコメントする。

回答 (1 件)

saras
saras 2016 年 12 月 27 日
You should be able to use blocks from Simulink Support Package for Android Devices and connect them to a scope in external mode to view the values in real time.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by