计算PSB option menu blockblock (mask)'Single_phase_bridge_inverter/powergui' 的"MaskParameterCallback'回调时 出错。回调字符串为'close_system(gcb)power_fftscope(bdroot(gcb),gcb)原因:无法识别的字段名称 "
88 次查看(过去 30 天)
显示 更早的评论
计算PSB option menu blockblock (mask)'Single_phase_bridge_inverter/powergui' 的"MaskParameterCallback'回调时 出错。回调字符串为'close_system(gcb)power_fftscope(bdroot(gcb),gcb)原因:无法识别的字段名称 "dimensions"。
2 个评论
回答(1 个)
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:
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!