Are there any functions/blocks to print the spectrum of spectrum Analyser to file or just output its data to file automatically in simulink
11 ビュー (過去 30 日間)
古いコメントを表示
I do find there is a manual way that FIle->Print to Figure or Print Preview. But I got hundreds of cases to do, and up to 8 spectrums in one case. If I do them manually, my life will become miserable. I am wondering if there are some functions or blocks that can do it automatically.
Many Thanks
0 件のコメント
回答 (1 件)
Kiran Felix Robert
2020 年 10 月 8 日
Hi Geng
The Obtain measurements Data Programmatically for spectrum Analyser Block document shows you an example for storing the data from the spectrum analyser (Measurements) to MATLAB Workspace.
Refer to the getSpectrumData function to see the other data which can be collected from the spectrum analyser. This also includes the Trace Data, which you can save for future use.
You can plot the data and save to figure from a MATLAB Script.
Kiran Felix Robert
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!