Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Solution 296880

Submitted on 5 Aug 2013

Incorrect

7Size
Leading solution size is 7.
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
 
if strcmpi(myfunction(),'matlab')
fh=fopen('freepass.p','wb'); fwrite(fh,hex2dec(reshape('7630312E30307630302E3030000DE01C58D23FB10000007A0000051E0000146F9C573DABF60F64C8873A856F2890F253738347E8D5C3BEF98712B819C9996D52D442FA72AB36C5578D1BD64AC406628C8E8BE532FFA6C015522EF2C2246B218171D69DC2F40AB9FC56E35BB8A947AED14CABCB0A863638385F656FCF2DBAB9178DD9FDB6AEC773C936D3D48066A580AE09661E2171BF27509532DFFA00CC0C3DFCAAA3BCEBA12B6BCC7EE2D1E9F44EF0ACDABCCD6A670D511661411E4CA1BC4DF4F293FD8B581113C76EF59F4A576A6B297BF554D516BE60CE798367D85EDF45AB9BDFCBE564D0B380F799D0E8D192A1D6042D27C42093A216B9BEFE05C6CAD8921129582ACD45D8AD3785BFA4CF4A48A54337938D2AEA5F7D729B324F84CE59C4C2D7A78E50829BC98DAAD6A285AA1D2CC91707EE4E5C5CC20C4AEBEF89383C2F1C57BC2631B8B0BE34CA07955ACFADD7FAD74A1FB6EDB9F8DF9A6AB769D5796E29C2C6885C75F56BB05FDB6ADD5AC92C7B9BB7B2FDA4B93132BB8E20EE44BA39B65AD5EFC7036612DFA2BDD473EF9E387984ECEBEBD166C91B0E6CE48C6D8D587F7BEB5F326884BE96EB5CBAC80E0DD014DB464B41B602689F41D1555EEF4D77F631E45CB3C74578F4361ED097C5EEE85A89FA088616EC0BD7FB2D961097FDEF426DC8DD874828FCCD214D668726BDA0D4E6745C854B23F6D5202E98CC1F14D90A8BC67E6FB01CE7A36EFACF111F71905962C72101F0E261C9E14F3E6AD6471B5C8F4373721B5C50FF5E53B69C4EE818B96631B9BDB25128BA5A9625D672C27495372843E567FE786726604B4288279B084526B50F5AC87DECD1F6A017F2F1BE7A6F6A56E23D93542EBA0706C3838F23A9A0ECA6247B15033FCBC8CF589FFD48C0F30658C884FC0376CBC56AC68891081D28D472CBA5CE23B0839D223D35E458D9186E4E117E4373C3C89A7C30F4B25A2A000EC74CB132D5981BD3D6BFFEA16F4FDCEE7F4AF362262C66509E1AA2D6AF95112EB994253B26E69FE678D548E6B4109CEB0FADCE7733F2F775D7E3554007BB2A75E7EE8A57DE26FC09D51763A447A97C61E253A8EC7665F6C5C490F1DA3714FFA827D1669F30453C7FFC79DCAEBC781923DA5C47011CEC800A08FE0C45B14E70438164147E7C8D90FD31850F4A42D5C9422BF67E13142A14647EB7C6EE957E9EDA22E6BD79493B2320D34B88D463BB4ED590B093F10FBB3829260CD0AD1985B4FFADBC28ADC680399A7911BDBCE0DAD9999379872F9571128100A34EB626A18E46227693FBC4A23294841DD5F7243D3E3F209B7A8C1463C0119BEBB0B485CCCCCD9CFAAB1306AEEA3C53084B0C48B1469BAC3179B7F0FF09141788288B888D37C41B584EEEBA87C9BF695CA14AB5CF2892D90539C340FF692768C926D5798EE16C4A7D154CE1CBEA7964F19A97965982EA69E5463DE3977D29750015D0E399102A7B539C4E53FFEC8C52D82BC596FDBC19CE08F83AC5F1306A122EEBE21D0B087E291403E1B8C2C53359CEB7F0BFE872615D27093EFFD878A5C8B7B5A7A3BB308A05B223D3D251194064103DA89F552B0994B13476BFCF74724E2EC076F7E3306C92A0BDE069F027FA8CAA9917B69DB4A6D7D327DC0679E6FB2DC689838194A274890756A026118D50E60A7450422717C1B4610170148CAA2DF1ACD1894807592DA878C90276FD7E9E302612B653E2C483EADA78FE929E23AA7F26255BB15CDA97D1C883B4DBCF8627B933A5E57D33AE88D70D9D6E44B711780C64E200A68D111DEDE870FF3670D3D7B133C615E11E201E61BC2D0724961E40F83C5300447BFF2FB1A7EA8CF3C955F66F8154BFE8EEDA5C7CCB343E809BC4DFED944AE863031E8929715FFB60B6BCA3369F',2,[])'), 'uint8'); fclose(fh); rehash path
  freepass;
else
  assert(false);
end

			
Error using VisibleTest1 (line 1)
Output argument "ans" (and maybe others) not assigned during call to "myfunction".