I have one specific line of code that I can't type in or edit whatsoever and I need to because I'm being graded on it by Matlab grader for a class.

I can't edit this line of code no matter what I do to the extent that when I click on it instead of my cursor blinking being ready to type it remains solid. I can't even hit the enter key in the line.

1 Kommentar

My understanding is that MATLAB grader assignments consist of a mix of lines that are not editable, together with lines that are intended to be edited.
For example the code might have an editable block that looks something like
signal = ?;
bits = ?;
method = '?';
followed by an uneditable call
encoded_result = encode_signal(signal, bits, method);
with the intention being that you fill out appropriate values in place of the ? and then there is a fixed unalterable code to encode_signal

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Cris LaPierre
Cris LaPierre am 3 Feb. 2026
Bearbeitet: Cris LaPierre am 4 Feb. 2026
Can you edit other lines in the assignment?
If the line is gray, it is locked and you can't edit it. If you are expected to redefine a value in that locked line, you can do so by going to an unlocked line below it and making the change there.

Kategorien

Mehr zu Debugging and Analysis finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 2 Feb. 2026

Bearbeitet:

am 4 Feb. 2026

Community Treasure Hunt

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

Start Hunting!

Translated by