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

17 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 12 Nov 2009
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 commentaire
Royi Avital
Royi Avital le 3 Oct 2020
I think the decompressor of RAR files is freely distributed.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Manage Products dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2009b

Community Treasure Hunt

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

Start Hunting!

Translated by