create proprietary fileformat for exe

3 次查看(过去 30 天)
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 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by