how do we read a .dat file in simulink so that it can be used as an input in a block diagram?

how do we read a .dat file in simulink so that it can be used as an input in a block diagram?plzz reply as soon as possible

Answers (1)

Load your data to Workspace, using textscan or dlmread and use from workspace block, or save it to a mat file and use from file block

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Asked:

on 22 Mar 2013

Commented:

on 12 Apr 2021

Community Treasure Hunt

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

Start Hunting!