信号分析器可以保存.fig文件吗

2 ビュー (過去 30 日間)
jinpu
jinpu 2025 年 10 月 29 日
回答済み: Abhipsa 2025 年 11 月 3 日
信号分析器里画出来的图可以复制图像,但是不能导出.fig文件

回答 (1 件)

Abhipsa
Abhipsa 2025 年 11 月 3 日
Hi @jinpu,
I believe you are asking "The plots generated in the Signal Analyzer can be copied as images, but they cannot be exported as .fig files.Can the Signal Analyzer save .fig files?"
Currently, the Signal Analyzer app does not support saving figures directly as .fig files. You can copy or export plots as images (.png, .jpg, etc.) using the Export > Export Plot or Copy Figure options, but .fig export is not available in the app interface.
The possible workarounds would be:
1. Recreate the plot programmatically
  • Use the same data and plotting commands (e.g., plot, spectrogram, etc.) in a MATLAB script and then save it:h = figure;
h = figure;
plot(t, x);
savefig(h, 'mySignal.fig');
2. Capture data from Signal Analyzer
  • Use Export > Export to Workspace to send the selected signal data back to the MATLAB workspace.
  • Then plot it in a normal MATLAB figure and save it as .fig using savefig.
I hope this helps!

カテゴリ

Help Center および File Exchange打印和保存 についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!