A new function has been added to Quasar called addLabelsToMatrixandSave().
To use it, you need to import the UsualFunction library into your Quasar script like this:
import "Useful_Functions.qsr"
I invite you to consult the Quasar Help in ODYSSEE CAE, there is a paragraph dedicated for this function (addLabelsToMatrixandSave ()) (Page 163 - Chapter 3.6.1).