Problem 791. Script file size

Determine the file size of a script, "function.m".

This is the base scoring method for Cody and the Matlab Contests.

A method can be found in Tiles Rules down towards the bottom.

Input: (string) Filename

Output: (value) Size

(eg 'interp1.m' returns 2218)

Solution Stats

41.07% Correct | 58.93% Incorrect
Last solution submitted on Jun 20, 2017

Solution Comments

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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!