Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Function definitions are not permitted in this context

1 回表示 (過去 30 日間)
Truong Sang
Truong Sang 2019 年 7 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Please help me this function. Detail in code attach.
Thanks you so much !

回答 (1 件)

Stephan
Stephan 2019 年 7 月 13 日
編集済み: Stephan 2019 年 7 月 13 日
Add the missing
end
after line 148 (from your outer while loop) to get rid of this error. This end is missing, so Matlab assumes that you declare functions inside a while loop, which is not allowed.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by