I am trying to solve a problem where I have to use multiple .m files to extract information from them and modify it slightly. The problem is that I cannot load in all .m files at once as the variables would overwrite each other (all .m files conatin the same variables but at different time steps). Can anybody help me how to create a sequence specifically for .m files or which command could be used? (I tried load and importdata commands, did not seem to work)
MATLAB: How to load in .m files in a sequence to Matlab
.m filessequence load
Best Answer