如何在excal同一个单元格内写入换行的内容。

3 views (last 30 days)
lesiken
lesiken on 14 May 2023
Answered: tchoyae on 14 May 2023
如题,想在excal同一个单元格内写入换行的内容例如:
尝试使用换行符,但不太好使
value=['0x1','\n','0x2'];
a={value};
xlswrite('www.xlsx',a);

Accepted Answer

tchoyae
tchoyae on 14 May 2023
value={['0x1',char(10),'0x2']};
xlswrite('www.xlsx',value);

More Answers (0)

Categories

Find more on MATLAB 快速入门 in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!