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.
Show older comments
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 Comment
Walter Roberson
on 2 Feb 2026
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
Answers (1)
Cris LaPierre
on 3 Feb 2026
Edited: Cris LaPierre
on 4 Feb 2026
0 votes
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.
Categories
Find more on Use Prebuilt MATLAB Interface to C/C++ Library in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!