Good morning, I have problems with inline and fplot. Why the command window shows me these errors? I tried to uninstall Matlab, but nothing... Thank you all Ansel

2 件のコメント

Adam
Adam 2017 年 1 月 25 日
You should paste in the error message. That image is too low resolution for me to read clearly. Maybe others can though.
Jan
Jan 2017 年 1 月 25 日
編集済み: Jan 2017 年 1 月 25 日
@Adam: I can read the image, when I open it in a new window. But a text copy would be more useful to avoid this indirection.
@Ansel: Please avoid the # in the tags. Thanks.

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

 採用された回答

Jan
Jan 2017 年 1 月 25 日
編集済み: Jan 2017 年 1 月 25 日

1 投票

inline will be removed in a future release. Use Anonymous Functions instead.
So give this a try:
f = @(x) 2*x+2;
fplot(f, [0, 5]);
This equals the example in the docs of fplot.
Anyway, Matlab's error message is not useful.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFunction Creation についてさらに検索

質問済み:

2017 年 1 月 25 日

編集済み:

Jan
2017 年 1 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by