gz85
Computer
- May 31, 2007
- 1
Hi everyone, I have a question about a MATLAB program that involves reading data from a serial object using fscanf. I wrote it a few years ago with MATLAB version 6.5.0.180913a release 13 and it still works with that version/release but it won't work with MATLAB version 7.0.1.24704 (R14) Service Pack 1. The errors I get with the newer version of MATLAB are "Warning: A timeout occurred before the read operation completed" and "Warning: A timeout occurred before the Terminator was reached". I have been able to locate the line at which the problem arises, which is of the form:
value = fscanf(obj);
where "value" is a string and "obj" is the serial object. Any insight on why this is happening with the newer version and how to fix the problem would be much appreciated.
GZ
value = fscanf(obj);
where "value" is a string and "obj" is the serial object. Any insight on why this is happening with the newer version and how to fix the problem would be much appreciated.
GZ