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 214956

Submitted on 9 Mar 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 "str" (and maybe others) not assigned during call to "/users/msssystem16/somethingfunny.m>somethingfunny".