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.

 採用された回答

Rick Rosson
Rick Rosson 2014 年 10 月 11 日

0 投票

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.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

製品

質問済み:

2014 年 10 月 11 日

回答済み:

2014 年 10 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by