计算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)原因​:无法识别的字段名称 "

65 views (last 30 days)
计算PSB option menu blockblock (mask)'Single_phase_bridge_inverter/powergui' 的"MaskParameterCallback'回调时 出错。回调字符串为'close_system(gcb)power_fftscope(bdroot(gcb),gcb)原因:无法识别的字段名称 "dimensions"。

Answers (1)

Shlok
Shlok on 22 Jul 2025
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:

Categories

Find more on 安装和许可简介 in Help Center and File Exchange

Tags

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!