How can I use codes downloaded in MATLAB file exchange?

5 ビュー (過去 30 日間)
Shion
Shion 2023 年 5 月 15 日
回答済み: Rik 2023 年 5 月 15 日
Does anyone know how to use the codes shared in file exchange in MATLAB online?
If you know, I would appreciate if you could tell me how.
  1 件のコメント
Stephen23
Stephen23 2023 年 5 月 15 日
There is absolutely no difference to code you write yourself: simply unzip it onto the MATLAB search path or into the current directory. The details depend on the particular submission that you downloaded (which you have not told us), e.g. if it is a toolbox, if it requires all of its subfolders to be added to the path, etc.

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

回答 (1 件)

Rik
Rik 2023 年 5 月 15 日
With a sufficiently new release you can use the AddOn Manager to add submissions automatically. That should even take care of update notifications.
I you want to avoid that, everything depends on which submission you want to download and use. When you download a submission you will get a zip file with all code files. When you put those files in any folder on your path, you can use the functions. Toolboxes need a slightly method of installation, but that should be self-explanatory when you open the file.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by