Clear Filters
Clear Filters

create proprietary fileformat for exe

1 view (last 30 days)
Maximilian Dio
Maximilian Dio on 18 Oct 2018
Answered: Walter Roberson on 18 Oct 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 Comment
Rik on 18 Oct 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.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 18 Oct 2018 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.


Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!