How to create a password protected zip file using matlab?
Afficher commentaires plus anciens
Query is on : create a password protected zip file using matlab
I already used as below:
7z a archive.7z -psecret *.mat
But I am getting error: Error: Unexpected MATLAB expression. (Used Matlab R2017b)
2 commentaires
David Hill
le 6 Juin 2020
Recommend encrypting file before zipping.
Partha Mitra
le 6 Juin 2020
Réponses (1)
Walter Roberson
le 6 Juin 2020
! 7z a archive.7z -psecret *.mat
or
system('7z a archive.7z -psecret *.mat')
4 commentaires
Partha Mitra
le 7 Juin 2020
Partha Mitra
le 7 Juin 2020
Partha Mitra
le 7 Juin 2020
Walter Roberson
le 7 Juin 2020
Using an exact path like you did is often a good idea for reliability... on any one system... but unfortunately not always portable.
Catégories
En savoir plus sur Scope Variables and Generate Names dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!