I draw an AND circuit ion matlab 2014 but when I start it an error occurs "Error evaluating expression 'xInitial' for 'InitialState' specified in the Configuration Parameters dialog for block diagram 'AND01': Undefined function or variable 'xInitial'." what shoul I do to solve this problem.

 Akzeptierte Antwort

Rick Rosson
Rick Rosson am 11 Okt. 2014

0 Stimmen

Please type
xInitial = 0;
at the MATLAB command prompt, and then try running the model.
That should eliminate the error, but it may result in a different error. Or the model may run but it may not behave as you intended.
Sorry, but without seeing your model, it is impossible to provide a definitive solution.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by