Error using tcpipmex: Too many output arguments

I am trying to write a simple script to send data across sockets. My code is below:
test = 'String'; t = tcpip('127.0.0.1', 8000); fopen(t); fprintf(t, test); fclose(t);
I am getting an error with the tcpip line: "Error using tcpipmex. Too many output arguments"
Does anyone know why this error is occurring and how to resolve it? Thank you for your help.

Answers (0)

Tags

Asked:

on 13 Jul 2015

Community Treasure Hunt

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

Start Hunting!