MATLAB: Suppression failure on evalin command

evalinsuppress

I'm having a problem suppressing the evalin function when using it to change elements in a vector. The semi-colon isn't working. Is there a fix for this? Here's an example:
>> i=zeros(1,4);
>> evalin('base','i(1)=1');
i =
1 0 0 0
The semicolon doesn't suppress the output for some reason.

Best Answer

Ian, put the semi-colon right after the i(1)=1 statement
evalin('base','i(1)=1;')