how to convert .mat file .txt file

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)

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

Categories

Asked:

on 19 Sep 2014

Answered:

dpb
on 19 Sep 2014

Community Treasure Hunt

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

Start Hunting!