- Even though you have reinstalled the MATLAB Runtime, there might be residual files or settings causing issues. Ensure a clean uninstall by deleting any remaining files and registry entries related to MATLAB Runtime before installing.
- Double-check that the PATH environment variable includes the correct path to the MATLAB Runtime's bin directory. A missing or incorrect path can prevent the executable from finding necessary runtime components.
- Ensure that the executable has the necessary permissions to run. Additionally, check if any security software (like antivirus or firewall) is blocking or interfering with the execution. Temporarily disable them to see if it resolves the issue.
- Verify that the client computer has sufficient system resources (CPU, memory) available. Resource constraints can sometime cause applications to hang. Also check for any hardware problems on the client computer, such as failing drives or memory issues.
- Look for any recently installed software or system updates that might conflict with the MATLAB Runtime. Roll back or disable them if necessary to test if they are causing the issue.
Compiled script won't run on client computer
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I'm troubleshooting an issue with some software that's designed to run with the MATLAB runtime on a computer that won't have a MATLAB install. Everything was working totally fine for a while, and then all of a sudden any script compiled in MATLAB will simply just hang up. No error message or output of any kind; it simply just waits forever. I tried the simplest version of a compiled executable, which is just:
disp("It Works!")
And then it's compiled with
mcc -m reallySimpleTest.m
Using MATLAB version R2024a.
And that's it. Works as expected on my computer! Verifying the install, uninstalling/reinstalling runtime 2024a (24.1) several times on the client computer, nothinig happens at all. Again, no output, no errors. Just an infinite pause in the command window. This happens with every script I try to run on this client computer (on a separate computer, the runtime/script combo works as expected though). Totally clueless on where to go from here, so any help would be greatly apprciated.
1 Kommentar
Zinea
am 5 Sep. 2024
You may try the following steps to troubleshoot the issue:
Let me know if the issue still persists.
Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Runtime finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!