You can make use of text file,csv file,and excel sheets for creating your dataset, MatLab has good support for these files.
For more information you can refer to -> https://www.mathworks.com/help/stats/dataset.html
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!