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.

Answers (1)

Cris LaPierre
Cris LaPierre on 6 May 2020
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.

Asked:

on 5 May 2020

Answered:

on 6 May 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!