Problem 522. Cody Computer Part 1 - Guess the system font used by uipanel

Solution 2827956

Submitted on 13 Aug 2020
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
y_correct ='Helvetica' assert(isequal(your_fcn_name,y_correct));

y_correct = 'Helvetica'

Index exceeds the number of array elements (35). Error in your_fcn_name (line 3) y = y{78}; Error in Test1 (line 2) assert(isequal(your_fcn_name,y_correct));

2   Pass
filetext = fileread('your_fcn_name.m') assert(isempty(strfind(filetext, 'Helvetica')))

filetext = 'function y = your_fcn_name y = listfonts(); y = y{78}; end %This code written by profile_id 17355128 '

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!