how do i send commands to thermostream?

I write some script and matlab send me a warning: ter=tcpip('1xx.2xx.2xx.1xx',40957); set(ter,'Terminator',{'LF/CR','LF/CR'}); fopen(ter); fscanf(ter) fprintf(ter,'LGIN X')
Warning: Unsuccessful read: A timeout occurred before the Terminator was reached. ans = 0×0 empty char array
How can i solve my problem? p.s.: time which need to the terminator i changed.

Answers (0)

Products

Release

R2017b

Asked:

on 20 Jun 2018

Community Treasure Hunt

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

Start Hunting!