Determine the file size of a script, "function.m".
This is the base scoring method for Cody and the Matlab Contests.
Input: (string) Filename
Output: (value) Size
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers26
Suggested Problems
-
Return a list sorted by number of occurrences
2890 Solvers
-
Selecting books on MATLAB for experts and beginners (blindfolded)
81 Solvers
-
Calculate the Hamming distance between two strings
343 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
103 Solvers
-
The Answer to Life, the Universe, and Everything
577 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The test suite needs to be updated.
Rafael's comment still applies: Cody is using a newer MATLAB version nowadays, the values in the test suite are not correct anymore. Would be nice if the test suit could be updated.
The test suite has been updated accordingly.
Thanks, Dyuman!