Info

This question is closed. Reopen it to edit or answer.

How do I block certain commands in Cody Coursework

1 view (last 30 days)
Is it possible, to block certain commands in Cody Coursework? For example, I would like to give the exercise to compute the determinant of a matrix A, but I do not want to allow the use of `det(A)`.

Answers (1)

Dmytro Bobkov
Dmytro Bobkov on 19 Oct 2016
In the recent release, there is a function to assert function absence, just enter the undesired function name and it will not pass in that case. Coursework doc for assertfunctionabsence

Community Treasure Hunt

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

Start Hunting!