How to create a password protected zip file using matlab?
    5 vues (au cours des 30 derniers jours)
  
       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
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
  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.
Voir également
Catégories
				En savoir plus sur Scope Variables and Generate Names dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


