Error message relating to powergui
86 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
David Reilly
el 10 de Mzo. de 2011
Respondida: Vahid
el 25 de Oct. de 2022
I've run a detailed simulation using the continuous powergui. When I double click the powergui block to perform a FFT analysis the following error message appears:
'Error evaluating 'OpenFcn' callback of PSB option menu block block (mask) 'powergui'. Attempt to reference field of non-structure array.'
I'm using fcn blocks but none are called 'OpenFcn'. What is a PSB option menu? The simulation functions correction but powergui won't allow me to perform FFT.
Any help would be much appreciated.
0 comentarios
Respuesta aceptada
Kaustubha Govind
el 10 de Mzo. de 2011
'OpenFcn' is one of the several callbacks that a block can have - in this case, it is executed when the powergui block is opened. I think "PSB option menu block" is simply the value of the MaskType property of the powergui block.
Essentially, it looks like the error is being thrown from the software itself. This could be due to a bug in SimPowerSystems, or something unexpected (like a corruption) happening in your model.
I would recommend that you report this to Tech Support, so they can diagnose the issue.
0 comentarios
Más respuestas (1)
Vahid
el 25 de Oct. de 2022
Delete Powergui block of new version and Replace with the block from your Installed Simulink library.It helped me.
0 comentarios
Ver también
Categorías
Más información sobre Block Libraries en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!