- documentation brower (but that would not be available in an exe)
- MuPAD computation (but Symbolic Toolbox cannot be compiled)
- talking to Simscape (I believe some of that can be compiled)
- talking to Simulink (you cannot compile a simulink model using MATLAB Compiler, but plausibly you might be able to compile a function that used sim() to invoke a simulink model... I am not sure)
- Parallel Computing Toolbox
Unable to open the requested feature. Error code: -104 Error message: ERR_CONNECTION_FAILED
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
When I opened the previously .exe application packed by matlab application compiler, the following error occurred:
Unable to open the requested feature.
Check your internet connection and proxy settings in MATLAB Web preferences and then try starting the feature again.
Detailed information:
Error code: -104 Error message: ERR_CONNECTION_FAILED
The application has been running normally in an offline environment for a long time. This is the first time this error has occurred.

What does this error code mean? Under what circumstances will such an error code appear?
0 comentarios
Respuestas (1)
Walter Roberson
el 31 de Mayo de 2021
I find in a list of Microsoft error messages that error 104 means https://www.monkeybreadsoftware.de/xojo/winerror.shtml
Cannot request exclusive semaphores at interrupt time.
I see other references that associate the error with failure to initialize a TCP connection.
The MATLAB error message is hinting that it thinks there was an error establishing a proxy connection; see https://www.mathworks.com/help/matlab/import_export/proxy.html#mw_c7fdb2f3-4e14-489c-a1d4-dea2e902a1fe for more on proxy settings.
I suspect that more generally the error message might plausibly be generated if your Windows firewall is blocking the exe from establishing connections to the same host. There are some things that MATLAB uses a separate process for, including
The above list of reasons MATLAB needs to talk to processes that it started is not exhaustive.
5 comentarios
Walter Roberson
el 31 de Mayo de 2021
Do you have the executable on a system that is completely firewalled off from Microsoft?
If not, then you almost certainly have had Windows Updates forced upon your system: MS Windows is quite agressive about forcing updates after 6 weeks. And Windows Updates can change firewall settings, and change proxy settings. And sometimes Windows Updates just randomly 💩on fully working systems, seemingly just because they can.
Anyhow, I recommend that you contact Mathworks Support. I have never built an executable on Windows (or maybe just once.)
Ver también
Categorías
Más información sobre C Shared Library Integration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!