Error using textread in a function

I tried this function in matlap and it worked, but it is not working in cody

1 Comment

Is the file, filename.csv, available on the Cody™ server?

Sign in to comment.

Answers (1)

It looks to me as if the filename is passed in as a parameter, so you should not be hard-coding it as a string. At most you would append '.csv' to the variable filename

Categories

Commented:

on 16 Aug 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!