Creating a MATLAB Function to Split a URL into Component Parts

This is a series of videos about developing a function to break up a URL string into components such as protocol, hostname, file path, query parameters, etc., similar to the fileparts function in MATLAB. The videos use the code-along style.

Part 1 Here, I create a function to break up a URL string into components such as protocol, hostname, file path, query parameters, similar to the fileparts function in MATLAB.

Part 2 This code-along video is the second in a series where I’m creating a MATLAB function to split a URL into component parts. Here I add more tests, return more components, and add a parameter to specify which components to return.

Part 3 This code-along video is the third in a series where I’m creating a MATLAB function to split a URL into component parts. Here I update another script to make use of this new function but it turns into a pretty slow debugging exercise.