Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

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!

Problem 791. Script file size

Created by Richard Zapor

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)


Problem Group

Solution Statistics

22 correct solutions 32 incorrect solutions
Last solution submitted on Jan 27, 2015

Solution Comments