https://au.mathworks.com/help/autosar/ref/autosar.api.getsimulinkmapping.getclassnamespace.html
getClassNamespace - Get class namespace for a model - MATLAB
This MATLAB function returns the class namespace specified for the model.
for agetclassnamespacemodel