MATLAB Answers


matlab android interfacing and reading values in real time

Farhan Farooq 님이 질문을 제출함. 25 Nov 2015
최근 활동 saras 님이 답변함. 27 Dec 2016
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

can you provide me code?

로그인 to comment.


답변 수: 1

Answer by saras
on 27 Dec 2016

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.

  댓글 수: 0

로그인 to comment.

Translated by