I have a very simple code that works fine in MATLAB R2018a but not in a compiled application.
t = tcpclient('www.mathworks.com', 80)
It seems like function 'tcpclient' cannot be compiled using MATLAB Compiler R2018a.
When run the executable after compiling, the following error is thrown-
"The specified superclass 'matlabshared.transportlib.internal.ITransport' contains a parse error, cannot be found on MATLAB's search path, or is shadowed by another file with the same name.
MATLAB:networklib:tcpclient:cannotCreateObject "
The same code works fine in until R2017b in both MATLAB and compiled environments.
How can I make it work in R2018a?
Best Answer