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

40.74% Correct | 59.26% Incorrect
Last solution submitted on Jan 27, 2015

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!

Join the 15-year community celebration.

Play games and win prizes!

Learn more