Why are some commands blocked in Matlab Grader, e.g. system?
이전 댓글 표시
When a Matlab Grader user uses certain commands in the solution, e.g.
path
system
then an error is returned:
Error: You may not use the command(s) path, system in your code
답변 (1개)
colordepth
2024년 12월 20일
편집: colordepth
2024년 12월 20일
0 개 추천
MATLAB Grader restricts certain commands for the purpose of cheating prevention and security reasons. These commands can alter the system environment or execute system-level tasks, which could lead to potential misuse or unintended side effects.
For a related discussion on command restrictions in MATLAB Grader, see https://www.mathworks.com/matlabcentral/answers/2083228-the-run-command-does-not-work-in-garder.
댓글 수: 1
카테고리
도움말 센터 및 File Exchange에서 Use Content in an LMS Course에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!