Update the content of a MatLab generated executable

조회 수: 6 (최근 30일)
Guillaume JACQUENOT
Guillaume JACQUENOT 2025년 1월 17일
답변: SACHIN KHANDELWAL 2025년 1월 20일
I would like to update the content of an executable inside a generated executable MatLab file. The file is generated with MatLab/Simulink compiler.
Why would I want to do this? Because I need to sign the content of all executable that run on my company pc.
I know I can open the generated executable as a zip file. Inside I can update or add any file.
I have found that there is a sig1.xml file that contains the sha512 encoded with base64. So I have updated the sha512 signature of the modified file. But I have an error when opening the executable: CTF archive is invalid
Is there a global signature to update? Or anything else?
Any advice is welcome!

답변 (1개)

SACHIN KHANDELWAL
SACHIN KHANDELWAL 2025년 1월 20일
MATLAB executables (created using MATLAB Compiler) are essentially self-extracting archives. They contain a CTF (Component Technology File) archive that includes all the necessary files for execution. Refer the following doc : https://www.mathworks.com/help/compiler/deployable-archive.html
I recommend utilizing the 3rd party signing tool instead to modifying the executable.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by