load rwb gives error

2 ビュー (過去 30 日間)
Timothy Maloy
Timothy Maloy 2020 年 12 月 10 日
コメント済み: Timothy Maloy 2020 年 12 月 10 日
I've been provided some code from a new job I've started, and I've come across an error that is stopping my progess.
There is a line in one of the files
>>load rwb
and when ran, I get the error:
Error using load
Unable to read file 'rwb'. No such file or directory.
It looks like it's a color map. Is this something that I need to download and put into my MATLAB directory?

採用された回答

Steve Eddins
Steve Eddins 2020 年 12 月 10 日
You're looking for a file called rwb.mat. Once you find it, put it in your current working folder or in a folder that's on the MATLAB search path.
  3 件のコメント
Steve Eddins
Steve Eddins 2020 年 12 月 10 日
It's not a file that's provided with MATLAB. I suggest looking for it wherever you got the code you're running.
Timothy Maloy
Timothy Maloy 2020 年 12 月 10 日
Thank you! I now have at least an understanding of what to ask for.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by