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.

Réponses (0)

Catégories

Produits

Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by