Import Matlab Projects archive

10 views (last 30 days)
RobinZ
RobinZ on 11 Jan 2021
Commented: RobinZ on 13 Jan 2021
Hello!
To share Matlab Projects they can be exported as a archives. This can be done via gui or script command. See: https://de.mathworks.com/help/matlab/ref/matlab.project.project.export.html#d122e1026144
Is it possible to also import (unzip) an archive from a Project with a script command? Maybe also providing the desired export path?
Thank you!
BR, Robin

Answers (1)

Mario Malic
Mario Malic on 11 Jan 2021
Hi Robin,
I don't think that there's such functionality, at least for now. Meanwhile, you can open the project archive by using
open('Example.mlproj')
then, you'll get a window to choose where you want to extract the project.
  1 Comment
RobinZ
RobinZ on 13 Jan 2021
Hi Mario,
thank you! That solves half of the problem. But than I still need to deal with the gui-window manually.
I was wondering if I am just missing a function!
Hopefully MathWorks will implement that in the near future!
Thanks, BR Robin!

Sign in to comment.

Categories

Find more on Create Large-Scale Model Components 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!