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

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

 Accepted Answer

tchoyae
tchoyae on 14 May 2023

0 votes

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

More Answers (0)

Categories

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

Tags

Asked:

on 14 May 2023

Answered:

on 14 May 2023

Community Treasure Hunt

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

Start Hunting!