Video and Webinar Series

saveValue Function for Tracking Metrics Over Time

This is a series of videos about developing a function to store values over time. I use the function to capture and track daily metrics on various quantities, then plot them in reports to see trends. The videos use the code-along style.


MATLAB Test Script

In this first video, I write a test script to capture the uses cases of the functions, which will be the requirements that direct the development.

saveValue with a MAT-File Object

In the next video in this series of videos about developing a set of functions to store values over time, I investigate using the MAT-file object to store the values.

Storing as a Table

In the third video in this series about developing functions to store values over time, I use a MATLAB table to store variables in the MAT-file.

loadValue

In the fourth video in this series about developing functions to store values over time, I write the loadValue function to retrieve previously stored values.

Using datetime Objects

In the fifth video in this series about developing functions to store values over time, I use the datetime object to store the timestamp associated with the value.

Specifying a Date

In the sixth video in this series about developing functions to store values over time, I look into satisfying the use case of specifying a custom date when saving the value.

Specifying datetime Input Format

In the sixth video in this series about developing functions to store values over time, I look into satisfying the use case of specifying a custom date when saving the value.

Using saveValue

In the eighth video in this series about developing functions to store values over time, I put the function to work by adding it to some of my scripts and reports to let me start tracking values.

Fixing Errors in the Value Store

Sometimes when I record a variable with the saveValue function, it is a mistake, or it was a test, or it was some outlier that I do not want to keep forever. Here I load, edit and resave to fix.