Modifying Excel column names to legal variables in MATLAB
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.
- 범주:
- Level: Advanced
댓글
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.