Setting parameter and initial values frome matlab

I need to run the simulation many times for different values of parameters and initial values. How can I set the variables of a .mod file from matlab.

See [Loop over parameters)