create proprietary fileformat for exe

조회 수: 2 (최근 30일)
Maximilian Dio
Maximilian Dio 2018년 10월 18일
답변: Walter Roberson 2018년 10월 18일
Hello, is there a possibility to create a fileformat out of a mat variable which can only be opened and read by the exe which will be created with matlab?
  댓글 수: 1
Rik
Rik 2018년 10월 18일
You can trick it by renaming it after saving and before reading. You could try other methods of obfuscation, but this one is quite easy.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 10월 18일
https://www.mathworks.com/matlabcentral/fileexchange/34564-fast-serialize-deserialize I am thinking you could serialize your data into a file and encrypt the file. Then in the executable use a Java streaming decryption routine sending data to a modified deserialize that accepted a buffer instead of a file.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by