i'm new matlab, , i'm trying build super simple server/client system test stuff out, following example found.
t = tcpip('0.0.0.0', 30000, 'networkrole', 'server'); fopen(t); data = fread(t, 10); plot(data);
my question is, need close socket @ end? assuming part of larger program of course. how do that?
you use:
fclose(t); when done connection. answer question?
Comments
Post a Comment