How to create a password protected zip file using matlab?
14 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Walter Roberson
2020-6-6
! 7z a archive.7z -psecret *.mat
or
system('7z a archive.7z -psecret *.mat')
4 个评论
Walter Roberson
2020-6-7
Using an exact path like you did is often a good idea for reliability... on any one system... but unfortunately not always portable.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!