How can I extract the contents of a RAR-file using MATLAB 7.9 (R2009b)?

15 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2009 年 11 月 12 日
コメント済み: Royi Avital 2020 年 10 月 3 日
I would like to extract the contents of a RAR archives using MATLAB commands. There are an UNZIP and UNTAR functions, but no UNRAR function.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 11 月 12 日
RAR is a proprietary archive file format. As a consequence there is no ready-made function in MATLAB to extract files from a RAR file. However, if you have or are able to find a third party tool which can be called from the command line (i.e. the DOS command window or UNIX shell) you could use the SYSTEM command or the "!" operator to call that third party tool in a MATLAB script or function.
  1 件のコメント
Royi Avital
Royi Avital 2020 年 10 月 3 日
I think the decompressor of RAR files is freely distributed.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2009b

Community Treasure Hunt

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

Start Hunting!

Translated by