Matlab File not running when selected from a Zip file

5 ビュー (過去 30 日間)
Austin Kim
Austin Kim 2019 年 8 月 16 日
回答済み: Rik 2019 年 8 月 16 日
I compressed a Folder into a zip file with multiple Matlab functions and a Matlab script and labeled it Project1. However when I opened it and ran the matlab function "Project_1.m", it gave me an error, "Undefined function or variable 'Problem2'." I have to "Problem2.m" file in the same zip file but it keeps giving me this error no matter what I do. What do I need to do to fix this?

採用された回答

Rik
Rik 2019 年 8 月 16 日
Although Windows explorer can treat zip files as if it is a folder, Matlab does not. You will have to extract all required files from the archive and run your scripts from there.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Compression についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by