Check the forum with this title..actualyl will help you..I had your same problem and manage to solve it
Link Matlab to Comsol in MAC - path problem
Link Matlab to Comsol in MAC - path problem