Yes. Is the format of your data the same in all your files? If yes, then use the import tool to generate a function instead of a script. That function can be used to automate the import process of all files with the same formatting. It appears you are already familiar with the Import Tool. If you do want to create an importing function, this video shows you how to generate and reuse your code.
And if you have a lot of files, this video shows you how to use the import function you have created in conjunction with a datastore to import multiple files.
I'd suggest reading your data in as a table instead of a cell array. This short video shows how to access data in a table.
Best Answer