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

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)

Tags

Problem Group

Solution Statistics

21 correct solutions 31 incorrect solutions
Last solution submitted on Jun 24, 2014

Solution Comments