How to put a password by matlab?

5 ビュー (過去 30 日間)
Mahdiyar
Mahdiyar 2014 年 11 月 18 日
回答済み: Guillaume 2014 年 11 月 18 日
Hi everyone
I have some figures produced by a matlab function that I wrote it and then I saved them by "save" matab command. Since they are important I want to protect them therefore I want to put a password on those files. Since there are a huge number of figures and .mat files I need a matlab code to put a password on them.
Is there any matlab command line to put the password on a file?
Any help is appreciated. Regards
  1 件のコメント
Matt J
Matt J 2014 年 11 月 18 日
Is there a reason the solution has to be through MATLAB? Why not just restrict the permissions on the folder where the files are kept?

サインインしてコメントする。

回答 (1 件)

Guillaume
Guillaume 2014 年 11 月 18 日
There's no facility within matlab to encrypt and password protect a mat or fig file.
However, most OSes have such facilities. If on Windows 7, right-click on a file or directory, select properties, select advanced, and tick 'Encrypt contents to secure data'.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by