MATLAB supports TCP/IP communication using Instrument Control Toolbox.
This MATLAB code example shows you how to exchange data with a remote application using TCP/IP. This example is taken from a MATLAB Digest technical article written by Edward J. Mayhew from George Mason University.
Hi i have a built in tcp server in one of my programs. I want to transmit data from my software to matlab using tcp. How can i query the server for returning the value of a specific variable ? which set of commands should i use ?
Question: How can I send data from matlab simulink with instrument control toolbox tcp/ip send/receive blocks , between 2 computers. What do I need to configure actually receive something on the remote computer
has anyone an example which communicates with the Visual Studio (c#, Vb.Net,...)?
20 Jul 2008
28 Jan 2008
I build a socket communication with Matlab and VS2003. My question is, if I send data from VS (server) to Matlab-Client, the fscanf operation needs a lot of time. I have to terminate the server programm. In Matlab Command window prompts the warning:Warning: A timeout occurred before the Terminator was reached.
Error in ==> icinterface.fscanf at 196
out = fscanf(igetfield(obj, 'jobject'), totalSize);
Error in ==> scope_mod at 33
rcvData = fscanf(t);
Does somebody have any suggestion?
Thanks a lot!
27 Oct 2007
24 Feb 2007
Filipe Ieda Fazanaro
05 Dec 2006
14 Sep 2006
29 Jul 2006
This is a "starter" example, but it does show you how to easily transfer data with MATLAB using TCP/IP.