Apps comiler in Mac version of Matlab
Afficher commentaires plus anciens
Dear MathWorks Team,
We, Centre for Marine Science and Technology of Curtin University have developed a Matlab toolbox called CHORUS (Gavrilov A.N. and Parsons M.J.G. (2014), “A Matlab tool for the Characterisation Of Recorded Underwater Sound (CHORUS)”, Acoustics Australia v.42, No.3, pp. 190-196) for analysis of ocean noise data, including whale detection. The toolbox is under ongoing improvement to include more models of underwater sound recorders and new features. All routines needed to work with the main program CHORUS GUI where compiled into a stand-alone CHORUS.exe program in Windows to allow researchers with little experience in Matlab to work with CHORUS. It’s available from our website. Recently we decided to make it available for Mac users as well. We compiled the package on a Mac computer and the resulting CHORUS.app works well on Mac machines.
However, when I copied CHORUS.app into a Windows-based computer, I saw it as a folder with many subfolders. It wouldn’t be critical, if one of the subfolders didn’t contain all source codes which we wouldn’t want to be publicly available. Please, let us know, if there is any way to hide the source code in the application compiled on a Mac.
Thanks, Alexander
Réponse acceptée
Plus de réponses (1)
Steven Lord
le 21 Mai 2021
0 votes
If you're generating a standalone application using MATLAB Compiler, your files are turned into a deployable archive that is encrypted using the AES cryptosystem. If you try looking at the contents one of the files from that archive I would be very surprised if you could read it.
4 commentaires
Alexander Gavrilov
le 22 Mai 2021
Walter Roberson
le 22 Mai 2021
In MacOS, a .app is a structured folder containing information about the application, and containing the binary executable, and containing libraries needed to execute. The idea is that a MacOS app should be self contained for everything except operating system libraries.
When an application is compiled with MATLAB Compiler, the resulting bundle is a self-extracting archive. The archive contains encrypted copies of the source code. You will be able to see all the file names but the file content should be encrypted.
Alexander Gavrilov
le 23 Mai 2021
Alexander Gavrilov
le 23 Mai 2021
Catégories
En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!