Could not create java socket in compiled exe.

2 views (last 30 days)
zlf lf
zlf lf on 8 Apr 2013
Hi all, I am following the article below to use java socket in my matlab application. http://www.mathworks.com/matlabcentral/fileexchange/21131
It works fine when running under matlab. But gave this error if I compile it to a console exe by deployment project.
Error using test_socket (line 69)
Connection Error: Undefined function 'ServerSocket' for input arguments of type 'double'.
MATLAB:UndefinedFunction
Regards,
zlf

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!