how to convert .mat file .txt file

1 view (last 30 days)
kishore
kishore on 19 Sep 2014
Answered: dpb on 19 Sep 2014
hi, any one help me my problem how to convert .mat file into text file. i have ecg signal data in the form of .mat file. i want to implement filters in fpga. so that i need binary data as input to fpga. how to convert .mat file into binary data.

Answers (1)

dpb
dpb on 19 Sep 2014
load 'yourfile.mat';
Now write the variable(s) contained in the file in whatever format data you need with fprintf

Community Treasure Hunt

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

Start Hunting!