How to char <--> int in Matlab?# Programming - 葵花宝典
z*u
1 楼
Hi, every bull man. I have a simple problem for you guys.
All the issue starts with saving data in Excel. I made a loop and at the end
write a group of data into the Excel file columnly. Of course, I don't
wanna overwrite existing data. So I need to tell it which column to write, e
.g., 'A' or 'B' etc. So I have to be able to transfer integer into character
'A', 'B' etc, right? I tried to run 'A'+1-1 and got 65, so it seems 'A' is
mapped uniquely to the int 65. So is there a function to transfer
All the issue starts with saving data in Excel. I made a loop and at the end
write a group of data into the Excel file columnly. Of course, I don't
wanna overwrite existing data. So I need to tell it which column to write, e
.g., 'A' or 'B' etc. So I have to be able to transfer integer into character
'A', 'B' etc, right? I tried to run 'A'+1-1 and got 65, so it seems 'A' is
mapped uniquely to the int 65. So is there a function to transfer