Cody

Problem 537. Cody Computer Part 3 - Detect the graphic card used on Cody Computer

Solution 470882

Submitted on 12 Jul 2014 by Alfonso Nieto-Castanon
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   Pass
%% 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))

You just got a free pass. Congrats!

2   Pass
%% prevents cheating 14-June-2012 filetext = fileread('your_fcn_name.m') assert(isempty(strfind(filetext, 'Brian Paul')))

You just got a free pass. Congrats!

Suggested Problems

More from this Author30

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!