Why do I receive the error: Unrecognized function or variable 'V_o'?

4 ビュー (過去 30 日間)
Edwin
Edwin 2025 年 3 月 30 日
コメント済み: John D'Errico 2025 年 3 月 30 日
Please guide me to solve the following error:
Warning: The specified buffer for 'Convertidor_Boost/Mean/Model/Transport Delay' was too small. During simulation, the buffer size was
temporarily increased to 106496. In order to generate code, you need to update the buffer size parameter
Unrecognized function or variable 'V_o'.
Error in Run_Convertidor_Boost (line 62)
plot(tt1,V_o)
Thank you so much,
Edwin Rodríguez Jiménez

回答 (1 件)

Cris LaPierre
Cris LaPierre 2025 年 3 月 30 日
The most likely reason is that you have not yet defined a variable with that name in your code. Did you define a variable V_0 or V_O instead of V_o?
% Recreated the error message
% Define a variable tt1 but not V_o
tt1 = 1:10;
plot(tt1,V_o)
Unrecognized function or variable 'V_o'.
  1 件のコメント
John D'Errico
John D'Errico 2025 年 3 月 30 日
This is a mistake I make myself at times. o and 0 live right next to each other on the keyboard. And they can look a lot alike, depending on the font. So I'd bet @Cris LaPierre is right.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by