Stuart’s MATLAB Videos

Watch and Learn

Using Anonymous Functions to Parameterize the Log File Analysis

Here I restructure the section of my code that filters the requests, so I can easily add any filter rule (as an anonymous function) in the future. Once again I forgot to turn on my webcam so you don’t get to see my smiling face, just my desktop.

Features covered in this video include:

  • Anonymous Functions
  • Nested Functions
  • mapreduce with Key-Value datastores

Play the video in full screen mode for a better viewing experience. 

I realize after that I was searching in “request” instead of “agent” for my string. Once I fixed that, I could see the traffic I was interested in.

  • print


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.