hi all, i'm trying to export a variable that is double using export function. I keep getting an error message "??? Undefined function or method 'export' for input arguments of type 'double'". My data are real numbers in a single column (when plotted looks like a waveform - brain signal like EEG). I want a txt file as an output. Please let me know if you have any suggestions. thank you

 採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 5 月 2 日

2 投票

EXPORT is meant to export variables that are of type 'dataset'. For double variables, you can simply use dlmwrite.

1 件のコメント

chef13
chef13 2015 年 3 月 26 日
I have a matrix which is 12x3x755
It represents 12 3D-Vectors. Now I am able to separate all the components of all the vectors with a '\n' 'delimiter' with the following command:
dlmwrite('bearingVector.txt',bearingVector,'delimiter','\n')
But what I would like to have is to separate all 3 components with a '\n' character. How can I do that?
What I want is a text file with 3 components on each lines which correspond to one vector. Is that possible with the dlmwrite command?
Thanks in advance for your attention.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEEG/MEG/ECoG についてさらに検索

質問済み:

2011 年 5 月 2 日

コメント済み:

2015 年 3 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by