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

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.