Gauge simulation is not working

9 ビュー (過去 30 日間)
Sergio
Sergio 2024 年 2 月 7 日
コメント済み: Sergio 2024 年 2 月 7 日
Hello people.
I'm trying to make a simple simulation with a gauge connected with a sine wave. Wen I run the simulation, the simulation stops and appears the message below:
Warning: There is no data available for 'Output Port 1' of 'odometer/Sine Wave'; check if this block is commented out or invariant. To assure this signal is available, consider marking the signal for logging.

回答 (1 件)

Animesh
Animesh 2024 年 2 月 7 日
The gauge block doesn't use a port to connect to the model elements; instead, it connects using the connect mode. So here is what you can do: connect the sine wave block to the outport block, and then connect this signal to the gauge block using connect mode.
Use can refer the following documentation for more details on working with the gauge block:
  1 件のコメント
Sergio
Sergio 2024 年 2 月 7 日
Hi @Animesh. Thank you for your explanation.

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

カテゴリ

Help Center および File ExchangeView and Analyze Simulation Results についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by