.exe included during compiling is missing
26 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Neuroesc
am 12 Dez. 2024 um 15:40
Kommentiert: Neuroesc
am 13 Dez. 2024 um 9:59
I created a Matlab app that uses a program called analysis.exe.
I compiled my app into a standalone .exe and I included analysis.exe as a file "required for your application to run" when using deploytool.
When the compiled app is running I use ctfroot to get the filepath of analysis.exe. However, when I try to run analysis.exe at the location specified by ctfroot matlab returns an error message:
'"C:\Users\username\AppData\Local\Temp\username\mcrCache24.1\app_4\analysis.exe"' is not recognized as an internal or external command, operable program or batch file
When I go to check the location analysis.exe is not there... so it seems like analysis.exe was not included properly during compiling? Or is not extracted properly to the hidden installation folder?
Any idea what the issue is here?
0 Kommentare
Akzeptierte Antwort
Matt J
am 12 Dez. 2024 um 19:00
Bearbeitet: Matt J
am 12 Dez. 2024 um 19:12
I would guess, based on your other posts, that it was unpacked in a subfolder of ctfroot. That could have occurred if you directed deploytool to look for analyses.exe in a subfolder during the packaging process. Similar to a .zip, the ctfroot will recreate the same relative file and folder structure as used during packaging.
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Application Deployment 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!