フィルターのクリア

Dimension of arrays being concatenated are not consistent.

1 回表示 (過去 30 日間)
Julia Hotze
Julia Hotze 2019 年 7 月 26 日
コメント済み: Rik 2019 年 7 月 29 日
I am working with an excel report that I am trying to sort based on the values in one column in the excel sheet and then export excel files that pertain to the data for the specific ID. I need help figuring out where the values are not consistent and what I need to change.
Currently, I am getting the error
Error using vertcat Dimensions of arrays being concatenated are not consistent.
Error in Midtown (line 91) xlswrite ([path abc],[headers; C]);
  4 件のコメント
Julia Hotze
Julia Hotze 2019 年 7 月 29 日
There are 22 columns. The number of rows varies. C is not a numeric array
Rik
Rik 2019 年 7 月 29 日
The error indicates the number of columns is not equal between the two. Have you confirmed both are 22 columns just before this line executes? (using breakpoints)

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

回答 (1 件)

Catalytic
Catalytic 2019 年 7 月 27 日
編集済み: Catalytic 2019 年 7 月 27 日

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by