Cody

Problem 342. Toolbox check part 3

Solution 3779978

Submitted on 22 Nov 2020 by Alisio
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
toolbox = 'MATLAB'; version = '7.13' assert(isequal(verlessthan(toolbox,version),verLessThan(toolbox,version)))

version = '7.13'

2   Pass
toolbox = 'MATLAB'; version = '8.13' assert(isequal(verlessthan(toolbox,version),verLessThan(toolbox,version)))

version = '8.13'

3   Pass
%toolbox = 'Simulink'; %version = '8.13' %assert(isequal(verlessthan(toolbox,version),verLessThan(toolbox,version)))

Suggested Problems

More from this Author39

Community Treasure Hunt

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

Start Hunting!