MATLAB: How to create a fine mesh only in one of the boundary of a rectangular domain in PDE tool

MATLABmeshPartial Differential Equation Toolboxpde toolbox

Hi; My problem consists of solving time dependent two coupled differential equation.Currently,I was able to solve the problem using matlab pde tool box.But it is really slow since it spend most of the calculation in unnecessary region since I have fine uniform mesh in whole region. Currently I am using generateMesh command to create my mesh.I want to make the program faster by creating fine mesh in one of the boundary of a rectangular domain and not in the whole rectangle.How can I do that ?
Related Question