How to import the exported signal using Wireless waveform generator app to MATLAB Simulink

12 views (last 30 days)
VIGNESH RAMESH
VIGNESH RAMESH on 22 Mar 2020
Answered: Ganesh Regoti on 26 Mar 2020
Once we "Export" the waveform to MATLAB Workspace using the Export to workspace or Export to file option in the toolstrip , how can we import that signal to MATLAB simulink.

Answers (1)

Ganesh Regoti
Ganesh Regoti on 26 Mar 2020
Hi,
To load signal from workspace to Simulink using Signal From Workspace block.
For data generated by Waveform Generator App, when loaded to workspace gives a struct of data. When using the above block, you need to mention the exact location of data in the struct.
Let's say waveformData is the name of variable exported to Workspace, you need to mention as follows
waveformData.waveform %It has the signal data
Hope this helps!

Community Treasure Hunt

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

Start Hunting!