create proprietary fileformat for exe

2 Ansichten (letzte 30 Tage)
Maximilian Dio
Maximilian Dio am 18 Okt. 2018
Beantwortet: Walter Roberson am 18 Okt. 2018
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 Kommentar
Rik
Rik am 18 Okt. 2018
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 18 Okt. 2018
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.

Kategorien

Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by