What can I do about this problem to create a table?

1 回表示 (過去 30 日間)
Jonathan Babitsch
Jonathan Babitsch 2020 年 7 月 29 日
コメント済み: Jonathan Babitsch 2020 年 7 月 29 日
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:
I also attached the code for you to have a closer look. Big thank you in advance everybody!
Johnny

採用された回答

Sriram Tadavarty
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
  1 件のコメント
Jonathan Babitsch
Jonathan Babitsch 2020 年 7 月 29 日
Simple but effective!
Thanks a lot!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by