CSV data into *.mat file

I have a C# applicaton in which data is created as comma separated values and saved in .csv file. Now I want this data to be saved in .mat file so that it can be read in MATLAB.

4 件のコメント

Stephen23
Stephen23 2022 年 11 月 29 日
" Now I want this data to be saved in .mat file so that it can be read in MATLAB."
Why not just import the CSV data directly? For example using READTABLE, READMATRIX, et al.
Hardik
Hardik 2022 年 11 月 29 日
I want to provide feature to user to export data in .mat file
Stephen23
Stephen23 2022 年 11 月 29 日
編集済み: Stephen23 2022 年 11 月 29 日
"I want to provide feature to user to export data in .mat file"
Okay, so import using the above mentioned functions, then SAVE.
What have you tried so far?
Hardik
Hardik 2022 年 11 月 29 日
I have created a double array and using csmatio download | SourceForge.net to write to a .mat file.
Wanted to know if any simpler way to do it.
How to use the functions you mentioned in C#

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Import and Analysis についてさらに検索

タグ

質問済み:

2022 年 11 月 29 日

コメント済み:

2022 年 11 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by