MATLAB: Error when using ‘Run Section’

I get the following error whenever I click on Run section.
If i run the entire script the it works fine.
If i select individual snipets of code then it still works fine. Only run section produces this error. The same error no matter hat code i am runnng.
I have windows 10 and MATLAB 2020a.
Index exceeds array element count (76).
Error: matlab.internal.editor.evaluateCode

1 件のコメント

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2020 年 12 月 15 日
Hi,
Can you attach the screenshot of the error message

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

回答 (0 件)

カテゴリ

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

質問済み:

2020 年 12 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by