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

71 vues (au cours des 30 derniers jours)
计算PSB option menu blockblock (mask)'Single_phase_bridge_inverter/powergui' 的"MaskParameterCallback'回调时 出错。回调字符串为'close_system(gcb)power_fftscope(bdroot(gcb),gcb)原因:无法识别的字段名称 "dimensions"。
  2 commentaires
展
le 16 Juin 2025
将Scope的数据保存格式修改为“Structure With Time‘试试

Connectez-vous pour commenter.

Réponses (1)

Shlok
Shlok le 22 Juil 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:

Catégories

En savoir plus sur 安装和许可简介 dans Help Center et File Exchange

Tags

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!