Do you know what the variable profile is (i.e. how it changes with time) before running the simulation?If so, just define it in the MATLAB workspace and import it through an Inport or a From Workspace block.