https://www.mathworks.com/help/fininst/inflationcurve.indexvalues.html
indexvalues - Calculate index values for inflationcurve object - MATLAB
This MATLAB function calculates the inflation index values for the inflationcurve object (inpInflationCurve) based on the Inflation index end dates (inpDates).
index valuescalculateobjectmatlab