If you want to run AERMOD inside Mathlab then you will need to follow some steps to meet the requirements.
First you will need to copy the required AERMOD files into the installation folder of the Mathlab. The required files are:
- executable file: aermod.exe
- input runstream file: aermod.inp
- meteorological surface file: aermet2.sfc
- meteorological profile data: aermet2.pfl
Then, type the code you want to use in the M-file editor and make sure that if you use additional files like Excel for example, to place them in the same installation folder then use the AERMOD from a Windows command prompt (Start > Run > CMD) to execute the code.