Quantcast
Channel: Guy on Simulink
Viewing all articles
Browse latest Browse all 160

Creating Custom Gauges

$
0
0

This week, I have a gift for you!

Thanks to new capabilities added in MATLAB R2020b, I created a library of custom gauges that you can add to your Simulink models and published it to MATLAB Central and GitHub.

Here is what my collection of gauges looks like, all together in action:

Let's look at a few examples illustrating how you can create such custom gauges yourself.

Example 1: Battery State of Charge

Here is an animation showing how I created the battery-looking State of Charge gauge shown above. The steps I went through can be summarized as:

Add a vertical gauge to the model Connect the vertical gauge to the signal of interest, the output of the Sine Wave block in this

...read more >>


Viewing all articles
Browse latest Browse all 160

Trending Articles