Output video file name to Excel with other data from process results

2 ビュー (過去 30 日間)
Walter Cromer
Walter Cromer 2023 年 4 月 4 日
回答済み: Walter Roberson 2023 年 4 月 4 日
I am using the Image Processing Toolbox and read in a video that I process. As my process progresses through the frames, it stores key data about specific frames into a matrix.
At the conclusion of the process, I write data into an Excel file.
I want to put the video file name in a column in the Excel file. The .Name property is a character string.
I thought I could just append the name value to a new column in my matrix and then use writematrix to create the Excel file. But, I don't know how to get a character string into a column in a matrix.
Help will be greatly appreciated.

回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 4 月 4 日
In order to put text into the same array as numeric data and use writematrix() to write it all out... then you will need to convert the numeric part to text.
I would suggest that you instead consider using table() objects and use writetable(),

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by