How do I block certain commands in Cody Coursework

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)

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

This question is closed.

Asked:

on 28 Jul 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!