Why are partially incorrect answers to my MATLAB Grader question being given a score of zero percent?

2 views (last 30 days)
I have a MATLAB Grader question that consists of a number of test cases. When I answer the question, even though the solution passes some of the test cases, I receive a score of zero percent. How can I ensure that the score reflects the percentage of test cases answered correctly?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 Jul 2022
To ensure the score for a question reflects the percentage of test cases answered correctly, change the "Assessment Method" of the question from "Correct/Incorrect" to "Weighted", as per the following documentation page:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!