Hello Niranjan,
The Aerospace toolbox does not support generation of DATCOM files.
However, it does allow you to import DATCOM files using the 'datcomimport' function. You can find various documentations for the same. I am attaching the user's guide of Aerospace toolbox, it will help you understand more about it's functionalities and concepts on DATCOM files.