Reading Dataset from Excel File
显示 更早的评论
Hi, this is my first post, I will try to do my best to explain my problem briefly.
I have a dataset which are all strings. I want to be able to store the values of the excel file (the string values) in a variable in Matlab.
I have attached a sample of what I want to use in Matlab. I want to store the x,o,b things in a variable to be used in the code.
回答(1 个)
Cris LaPierre
2020-5-6
0 个投票
The easiest way to start is by using the import tool. It is on the toolstrip in the Home tab. This video from the Practical Data Science with MATLAB course can help. Once you have the datatypes and formatting set the way you want, import the data, covert the settings to code, or generate an import function for repeated use.
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!