fopen sometimes not writing all message and saved?
Show older comments
Hi everyone!!!
I have SDP for encrypted and decrypted message but sometimes not save all encrypted message.
for example:
S is encrypted message.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
S=`@ `!@ AA C@@@ACCACACCAEAEEAAEEEIIEAIAAYIYAIIAAAAaaAqaAaaAaA!aA!!AA
fh=fopen('tower.txt','w');
fprintf(fh, '%s' ,S);
fclose(fh);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
but tower.txt file has just
`@
please tell me
why not save all?
and how to solve it?
thank you
Accepted Answer
More Answers (0)
Categories
Find more on Encryption / Cryptography 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!