Why does not this function work:

this is what i wrote:

`function grade=onlyundefined(quiz)if quiz<0 ||quiz>10 grade='X'endend`

Skip to content# MATLAB: Function that does not work

###### Related Question

function problem

Why does not this function work:

this is what i wrote:

`function grade=onlyundefined(quiz)if quiz<0 ||quiz>10 grade='X'endend`

## Best Answer