Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 199858

Submitted on 3 Feb 2013

Incorrect

1000000Size
Leading solution size is 0.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Fail
 
%%
assignin('caller','score',1e6);
str=somethingfunny;
assert(isstr(str));
rand('seed',sum(str));
assignin('caller','score',round(rand*1e6));
Error: Output argument "ans" (and maybe others) not assigned during call to "/users/msssystem13/somethingfunny.m>somethingfunny".