How can I extract the contents of a RAR-file using MATLAB 7.9 (R2009b)?
15 views (last 30 days)
Show older comments
MathWorks Support Team
on 12 Nov 2009
Commented: Royi Avital
on 3 Oct 2020
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.
Accepted Answer
MathWorks Support Team
on 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 Comment
More Answers (0)
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!