Provide feedback when answering correctly in MATLAB Grader

18 ビュー (過去 30 日間)
Christophe
Christophe 2022 年 10 月 12 日
コメント済み: Christophe 2022 年 10 月 13 日
I am trying to implement some additional feedback to the students when they correctly pass an assessment test in MATLAB Grader.
The default "feedback" functionality is unfortunately on incorrect answers only.
I was advised to use in the "MATLAB code" for testing the students answers the
assert( cond , 'feedback message' )
command. But this command triggers the 'feedback message' only when the condition cond is false, for which MATLAB Grader considers the assessment test as not passed (red cross obtained when running the test in MATLAB Grader).
How to provide additional feedback to students when successfully passing a test?

採用された回答

Cris LaPierre
Cris LaPierre 2022 年 10 月 12 日
As you have observed, feedback is only shown to students if the assessment test is incorrect. The only feedback they will see is what is written in the 'Feedback on Incorrect' field, and any message included in assert, error, or assessVariableEqual when that test is False. All other outputs created inside an assessment test are 'swallowed'.
If this is a feature you would like, I recommend submitting a suggestion to MathWorks here (Create Service Request > Techinical Support).
  1 件のコメント
Christophe
Christophe 2022 年 10 月 13 日
Thanks, Cris, I just submitted a suggestion for implementing this feature.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeUse Content in an LMS Course についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by