I am not sure what the issue is here. Please answer ASAP.. Thanks!

2 件のコメント

Torsten
Torsten 2022 年 6 月 10 日
The reason is that MATLAB tries to find an array or a function "sum_script_call" and "sum_inline", but cannot find them.
Chastin Truelove
Chastin Truelove 2022 年 6 月 10 日
What is a possible solution here? I thought that was the way to go about it..

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

回答 (1 件)

Image Analyst
Image Analyst 2022 年 6 月 10 日

1 投票

Why do you think it should know what those variables or functions are? It doesn't. Did you think you had defined them previously somehow, or somehow were living on your search path or in your workspace? Evidently then don't.

1 件のコメント

Image Analyst
Image Analyst 2022 年 6 月 10 日
Write your code into a script, an m-file, and attach it here in the body of the message or with the paper clip icon.
What if you do this
sum_script_call = rand(100, 50);
before you try to reference it with
sum_l = sum_script_call(3, 4);
???

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

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2022a

質問済み:

2022 年 6 月 10 日

コメント済み:

2022 年 6 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by