usage of not isequal

I am using this line: while not(isequal(OptimalPath(end,2)),SearchGoal)
end
I get error "not enough input arguments" - puzzled why

 Accepted Answer

not( isequal(OptimalPath(end,2),SearchGoal) )
You had the ) in the wrong place

More Answers (0)

Categories

Find more on Number games in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!