Hi all. I have MATLAB reading in a text file successfully into a structure. But I would like for my text file to point to csv file to read in.
So I read in the text file data and it is a list of parameters. but one of the parameters listed is another read-in file.
I am using a file that reads in and parses the data based on type. This is what it looks like:
function result = load_data( r )
Is there a way I can say something like "elseif isa(r, 'csv, text, or yaml file, etc') ?
Thanks in advance!