MATLAB: Write value to gauge in MATLAB design app

app designer

Cannot write value to display on guage in app layout. Looking to display velocity of of DC motor.
Thanks

Best Answer

In the inspector, look for the label of the gauge. Originally it is labeled as "Gauge". You also see this on the code page inside the app property block. Then you can write to your gauge from a function within your class via app.Gauge.Value = x; where x is the value that you want to display.
How do you obtain the velocity of the DC motor?