What can I do about this problem to create a table?
1 次查看(过去 30 天)
显示 更早的评论
Hey everybody,
I want to create a table of 4 rows, but they differ in how many characters are written into the rows.
I get the following error message with my code:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/338605/image.png)
I also attached the code for you to have a closer look. Big thank you in advance everybody!
Johnny
0 个评论
采纳的回答
Sriram Tadavarty
2020-7-29
Hi Jonathan,
You can try converting to strings to avoid such problem. Here is the line of code, that is changed with strings.
Local_Coordinate_Systems=table([string(inlet);string(Lcs_Comp01_Filter1);string(Lcs_Comp031_Evaporator1);string(Lcs_Extr_Out_Panelmid_DS)]);
Hope this helps.
Regards,
Sriram
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!