Solution 195122

Submitted on 22 Jan 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status 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: Undefined function 'regexp' for input arguments of type 'struct'.
2   Pass
%% prevents cheating 14-June-2012 filetext = fileread('your_fcn_name.m') assert(isempty(strfind(filetext, 'Brian Paul')))
filetext = function ans = your_fcn_name S=opengl('data'); tf = regexp(S,'Renderer','split'); ee=regexp(tf{1},'Vendor =','split'); strtrim(ee{2}); %This code written by profile_id 870409