matlab save variable name as string. There are any references about matlab save variable name as string in here. you can look below.