compiled app runtime problem

2 visualizaciones (últimos 30 días)
Ahmet Ayan
Ahmet Ayan el 7 de Abr. de 2022
Comentada: Benjamin Thompson el 8 de Abr. de 2022
I have a simple app designed using appdesigner (one panel, 1 tab group, 2 tables), compiled as a stanalone application. Compilation creates executables fine, however, when run, I am getting a error referring to posrt 31515, etc. The app itself does not communicate with anthing else, so I am not sure why the port #, ip address 127.0.0.1 are even needed.
The app runs ok in appdesigner via ("Run") .
I would appreciate if anyone has any insights ?
Thank you
ahmet
------------------------------
Caught "std::exception" Exception message is:
Did not start the server. Desired port was: 31515. Last error was: Error while starting socket: 127.0.0.1, Invalid argument, 10022, Invalid argument ....

Respuestas (1)

Benjamin Thompson
Benjamin Thompson el 7 de Abr. de 2022
  3 comentarios
Benjamin Thompson
Benjamin Thompson el 8 de Abr. de 2022
Your institution has probably configured things so anything MATLAB wants is OK. But when you build your standalone application, your institution is not going to let any arbitrary application use any ports it wants on their network. Perhaps you have a computer of your own on which to complete your work.
If your question has been answered please mark it as accepted.
Benjamin Thompson
Benjamin Thompson el 8 de Abr. de 2022
On your own computer, you can install the MATLAB runtime for free and run any standalone application you have built. Mathworks does not require any licensing fees for this.

Iniciar sesión para comentar.

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by