Hello again mkasongo@iu.edu,
I just saw that you might be using an older version of our toolbox (because of the name of the script - mcd_s32k_hostid). I suggest that you install the latest version of our S32K toolbox (available on nxp.com).
Kind regards,
Razvan.
P.S.: you can also run mbd_s32k_hostid script to get the same volume serial number (if you are using our latest version of the toolbox). In the older version that you are using, you must first make sure the toolbox has been installed in the MATLAB path (you should run mcd_s32k_path first).