Worked on serial communication with Matlab. Was using fscanf() to read the data. There was excessive delay in the code. This was because a terminator was expected which was not transmitted . Hence the execution stops for one timeout(which was 10 s). fread() was used instead. The problem was fixed.
No comments:
Post a Comment