Why is there an additional directory level between my ctfroot and the files I include with my compiled application?
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 8 Mai 2020
Kommentiert: cr
am 17 Dez. 2025 um 3:41
I have created and deployed a compiled application using MATLAB Compiler. When I run the application on the target machine and examine the location of the CTF root:
C:\Users\UserName\Desktop\Temp\mcrCache9.7\AppName1
I see that this folder does not contain the files I included when packaging my app using MATLAB Compiler. Instead, I see the following directories:
.matlab
.MATA
AppName
AppName_5F4C30D8E7FC4C9362D4D35FA80E3C3E
toolbox
.created
The folder which actually contains the files I included with my application is "AppName" (full path C:\Users\UserName\Desktop\Temp\mcrCache9.7\AppName1\AppName).
However, I've done this with several applications and notice that the name of this subdirectory is not always the same as the name of my project (sometimes it is a shortened version). There doesn't seem to be any way to predict the name of this folder.
In previous versions of MATLAB (R2018a and earlier), this additional subdirectory did not exist. Is this expected?
Akzeptierte Antwort
MathWorks Support Team
am 8 Mai 2020
This behavior is expected, and is a change which was introduced in R2018b.
Any relative pathing used within your compiled code will still work.
3 Kommentare
Kautuk
am 16 Dez. 2025 um 8:03
Hello @cr, you can contact MathWorks Technical Support who may be able to assist you better: https://www.mathworks.com/support/contact_us.html
cr
am 17 Dez. 2025 um 3:41
MW tech support, at least in this region, do not honour their legal commitments of supporting installation issues with compiler/compiled products on perpetual licences without up to date on maintenance. This is is not even an installation issue, I'm certain it would be waste of time.
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!