I've just started using Matlab, I previously got this to work, but for some reason I can't figure out why it's not working any more. Anyway, it's just a mess around.question = input('say friend and enter');str = 'correct';message = [str];if (quesition ~= friend); disp(message)end
MATLAB: Error using input,,, Undefined function or variable ‘friend’.
error using input undefined function or variable 'friend'.
Best Answer