Changable files in matlab compiled executable
Ältere Kommentare anzeigen
Hello,
I would like to keep an API function as .mexw64-file outside of my Matlab compiled executable, e.g. for the use with different hardware or to later update the API without the need of redeployment. Therefore, I would like to have these API files to be not included in the list "files required for your application to run" of the Matlab Compiler, but in a subfolder of "files installed for your end user". However, since the files/functions are linked in my Matlab code, they are always added in the required list and deployed and thus later not changable.
Has anyone an idea how I could implement a solution? I would really appreciate your help.
Antworten (1)
Kojiro Saito
am 24 Okt. 2018
0 Stimmen
How about the following steps?
- Move the mexw64-file to outside of the current folder (where m file is located)
- Compile the m file
- Move the mexw64-file to the current folder of compiled exe
4 Kommentare
Raimund Kaiser
am 24 Okt. 2018
Kojiro Saito
am 24 Okt. 2018
Bearbeitet: Kojiro Saito
am 24 Okt. 2018
After moving the mex64-file to outside MATLAB path, did you compile m file again from scratch? i.e., Open Application Compiler, add the m file to exported functions. Not from exisiting .prj file.
Raimund Kaiser
am 24 Okt. 2018
Raimund Kaiser
am 26 Okt. 2018
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!