Hi, Is there any way of loading a text file (say mydata.txt) using a variable name? What I need to do is allow the user to input the name of a text file, which contains an array, in the previous command, and then for the program to load the file with name and store it into another variable. Thanks in advance.
MATLAB: Loading text files using variable names
loadvariables
Related Question
- Reading .txt file of values separated by semicolon
- How to plot four columns of data from a text file
- Reading big textfile with textscan
- Using textscan
- To read a text file using matlab
- I aam having error when i am trying to load csv file and i am having error like this which i mentioned so please help me someone
Best Answer