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 Comment

Hi,
Can you attach the screenshot of the error message

Sign in to comment.

Answers (0)

Categories

Asked:

on 8 Dec 2020

Community Treasure Hunt

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

Start Hunting!