Implied model paths from feeding in real exogenous variables

Continually digging, I found this thread as well:

Deterministic simulation: shocks block setup - #3 by alex.crescentini

@jpfeifer wrote the following commands to be used:

perfect_foresight_setup(periods=150);
oo_.exo_simul=mymatrix;
perfect_foresight_solver;

where I assume “mymatrix” would be a matrix containing the actual values for the exogenous variables I would like to feed into my model.

So, do I simply create such a file in the folder and then copy and paste the empirical values into the matrix in some specific arrangement? Then run the above commands and the .mod file will automatically know to look up and utilize those exogenous values?

Sorry for all of the questions!