Undefined function or variable "xa" error message

3 views (last 30 days)
Hi. As part of my research work, I am investigating the synchronous machine stability at low speeds. I connected the SI fundamental simulink blockset machine with exciter and speed input to a load. Before I simulating I have tried to carry out a load flow to get steady state using the powergui with no success! I keep getting the error, Undefined function or variable "xa" in the matlab window. Unfortunately I cant get past this error and its delaying my research considerably. Can anyone give me direction on this please.....Thanks.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 27 Nov 2011
In the Simulink model, press Ctrl+F, search where the variable 'xa' is used. Then assign a proper value to 'xa' in MATLAB Command Window, for example:
xa=1
  4 Comments
J Gunda
J Gunda on 21 Oct 2014
Hi James...
I am trying to simulate synchronous machine per unit standard block. I have filled all the values but if I observe the waveform of voltage and current its not sinusoidal.
J Gunda
J Gunda on 21 Oct 2014
IF you have any idea regarding pleas help me...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!