Modifying Excel Column Names to Legal Variables in MATLAB
(Originally posted on Doug's MATLAB Video Tutorials blog.)
I have been using MATLAB tables lately. In doing that, MATLAB will store meta data with your numeric data. I was bringing data in from Excel files. Each column name will eventually become a variable name. If these column names include characters like '(' then they can not be MATLAB variable names. Rather than modify the Excel files, I just modified the column names before making the table in MATLAB.
Recorded: 23 Apr 2014
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.