bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Using Implicit Expansion of Strings to Create a List of MATLAB Releases

I want to be able to create a string array that is a list of MATLAB releases for the last 10 years. e.g. [“R2014a”, “R2014b”, “R2015a”, “R2015b … “R2025a”].

I could use a for loop, or perhaps a nested for loop, but I suspect I can use the concept of implicit expansion with strings to do this in a simpler way.

Features covered in this code-along style video include:

  • Strings
  • Implicit expansion

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

|
  • print

Comments

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