计算PSB option menu blockblock (mask)'Sin​gle_phase_​bridge_inv​erter/powe​rgui' 的"MaskPara​meterCallb​ack'回调时 出错。回调字符串为'​close_syst​em(gcb)pow​er_fftscop​e(bdroot(g​cb),gcb)原因​:无法识别的字段名称 "

70 ビュー (過去 30 日間)
Jiuniu
Jiuniu 2025 年 4 月 21 日
回答済み: Shlok 2025 年 7 月 22 日
计算PSB option menu blockblock (mask)'Single_phase_bridge_inverter/powergui' 的"MaskParameterCallback'回调时 出错。回调字符串为'close_system(gcb)power_fftscope(bdroot(gcb),gcb)原因:无法识别的字段名称 "dimensions"。
  2 件のコメント
Yukai Huang
Yukai Huang 2025 年 4 月 24 日
I also encountered this problem!
展
2025 年 6 月 16 日
将Scope的数据保存格式修改为“Structure With Time‘试试

サインインしてコメントする。

回答 (1 件)

Shlok
Shlok 2025 年 7 月 22 日
Hi,
As per my understanding, this error usually occurs when the "FFT Analyzer App" is used in a model that does not contain Specialized Power Systems blocks. The app is specifically designed for such systems and assumes their presence when executing callbacks.
Apparently, your model does not include these components, which causes the callback to fail, leading to the error you're seeing. As a workaround, you can manually convert the simulation output from your dataset to a struct, ensure it includes the expected "dimensions" field and then use that signal to generate fft.
This limitation is now explicitly mentioned in the latest documentation:

カテゴリ

Help Center および File Exchange安装和许可简介 についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!