Stuart’s MATLAB Videos

Watch and Learn

Results for: Code-Along

saveValue Function for Tracking Metrics Over Time, Part 7: Specifying datetime Input Format

Posted by Stuart McGarrity,

In the seventh video in this series about developing functions to store values over time, I struggle a lot with specifying the input date for a datetime object. This video uses the code-along style.
if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== ‘undefined’) {videojs(“mathworks-brightcove-player”).on(‘loadedmetadata’, function() {playerLoaded =… read more >>

saveValue Function for Tracking Metrics Over Time, Part 6: Specifying a Date 2

Posted by Stuart McGarrity,

Happy New Year everyone.
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. This video uses the code-along style.
if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs)… read more >>

saveValue Function for Tracking Metrics Over Time, Part 5: Using datetime Objects

Posted by Stuart McGarrity,

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. This video uses the code-along style.
if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== ‘undefined’) {videojs(“mathworks-brightcove-player”).on(‘loadedmetadata’, function() {playerLoaded =… read more >>

saveValue Function for Tracking Metrics Over Time, Part 4: loadValue 3

Posted by Stuart McGarrity,

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. This video uses the code-along style.
if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== ‘undefined’) {videojs(“mathworks-brightcove-player”).on(‘loadedmetadata’, function() {playerLoaded = true;});} else {setTimeout(isVideojsDefined,… read more >>

saveValue Function for Tracking Metrics Over Time, Part 3: Storing as a Table 2

Posted by Stuart McGarrity,

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. This video uses the code-along style.
if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== ‘undefined’) {videojs(“mathworks-brightcove-player”).on(‘loadedmetadata’, function() {playerLoaded = true;});} else… read more >>

saveValue Function for Tracking Metrics Over Time, Part 2: Using a MAT-File Object

Posted by Stuart McGarrity,

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. This video uses the code-along style.
if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== ‘undefined’) {videojs(“mathworks-brightcove-player”).on(‘loadedmetadata’, function()… read more >>

MATLAB Code-Along Videos 6

Posted by Stuart McGarrity,

The next set of videos that I post, starting tomorrow, use a style similar to “code-along” videos. This style has been used to capture real-time software development in other languages (e.g. on Twitch TV) after it became popular with video game play capture. It includes all the mistakes, twists and turns, back… read more >>