- Create the live scripts to just contain the code I want my students to see
- Use breaks to control the execution of code
- Create p-coded scripts or functions for evaluating the students work
- Organize the live script(s) and grading file(s) into a folder structure in MATLAB Drive
- Distribute the live script to students (I would use a shared link in MATLAB Drive so the file is already in their MATLAB Online session)
Is it possible to grade Code in Live Editor
조회 수: 7 (최근 30일)
이전 댓글 표시
I'm currently remaking a signals and controls MATLAB module in MATLAB Live Editor to make the course more interactive etc. however I would like students code to be graded at certain points, I have seen the MATLAB grader but I want to keep everything in Live Editor, is there a way to incorpororate this grading into live editor? If not I have thought of making my own separate functions that upon a button press check the value of certain variables, if you can think of a better way please let me know!
댓글 수: 0
채택된 답변
Cris LaPierre
2021년 7월 8일
It is always possible, it just depends on what sort of experience you want to create for your learners.
MATLAB Grader does not support interactive code, so if that is the experience you are looking to create, you are better sticking to live scripts. However, in a live script, you will not have access to the assessment functions grader uses. You will need to come up with your own assessment code and incorporate it into your live script.
Your students will need to be able to run your assessment code in order for the grading to work. That means the assessment code will need to be incorporated into the live script itself (so students will be able to see it, plus it may make the script more difficult to read/navigate), or it can be placed into separate script or function files that the live script calls.
Off the top of my head, I would probably do the following.
You can learn more about creating, sharing, and running live scripts in MATLAB Online in our Teaching with MATLAB self-paced course.
The biggest challenge may be if you want to record their grades. MATLAB does not provide an automatic way to capture these grades. Any solution would have to be created using custom code.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Install Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!