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

Incorrect

35Size
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
 
%% Which graphic card is used ?
S=evalc('opengl info')
tf = regexp(S,'Renderer','split')
ee=regexp(tf{1},'Vendor          =','split')
y_correct= strtrim(ee{2});
assert(isequal(your_fcn_name,y_correct))
Error: You may not use the command(s) evalc in your code
2
Fail
 
%% prevents cheating 14-June-2012
filetext = fileread('your_fcn_name.m')
 assert(isempty(strfind(filetext, 'Brian Paul')))
Error: You may not use the command(s) evalc in your code