serial port connected to matlab

I am trying to receive data in MATLAB from a port connected to Arduino and a load cell, my system is programmed in a way that by entering the letter a in ARDUINO interface I receive 2 numbers with cama(,) in between. now in MATLAB I receive the same tow numbers by using the command [ fprint(s,'a'), fscanf(s)] respectfully, now I want to have this numbers as real numbers in MATLAB not only text, I'd appreciate any help

답변 (0개)

이 질문은 마감되었습니다.

질문:

2017년 9월 18일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by