Error: "Function definitions are not permitted in this context."

I have the same name for function and matlab file, I have started the file with function. What is wrong?

2 件のコメント

madhan ravi
madhan ravi 2020 年 6 月 7 日
How are you trying to execute the function?
Rares Iscu
Rares Iscu 2020 年 6 月 7 日
In command window, to test if it is working, I have seen if I run in script, I receive an "ans".. but Ia don't know if it's correcly because it's the first time when i use functions..

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeBig Data Processing についてさらに検索

タグ

質問済み:

2020 年 6 月 7 日

コメント済み:

2020 年 6 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by