计算PSB option menu blockblock (mask)'Single_phase_bridge_inverter/powergui' 的"MaskParameterCallback'回调时 出错。回调字符串为'close_system(gcb)power_fftscope(bdroot(gcb),gcb)原因:无法识别的字段名称 "
65 views (last 30 days)
Show older comments
计算PSB option menu blockblock (mask)'Single_phase_bridge_inverter/powergui' 的"MaskParameterCallback'回调时 出错。回调字符串为'close_system(gcb)power_fftscope(bdroot(gcb),gcb)原因:无法识别的字段名称 "dimensions"。
2 Comments
Answers (1)
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:
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!