MATLAB: Why the function give back only 1 answer instead of 2

matlab function

hello guys my function is inside the txt file.
although I set the function to give 2 answers (id and c) it gives back only 1 answer (id). what did I do wrong?
p.s when I will get an answer I wil have to delete my code so my classmates would not be able to copy it (its homework) so sorry for feautre readers.

Best Answer

Your function can return 2 arguments, but will not unless you request 2 outputs in the function call, e.g.,
[out1,out2]=hw1_204257976([false, 'a'==97],[1 2],('ab')')