Drawing from non-normal distributions(uniform)in simulation

Hi ,
I was trying to simulate (not estimate) a model with a shock which is not have normal distributions. Particularly I'd be interested in specifying that my shock is uniformly distributed(-1,1). (I'm also interested in truncated normals.)
I would like to figure out the best way to specify how to do this in the shocks; I use Dynar4.4.3.
Thanks for the help,
PS: I saw the http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=1855 but unfortunately it is just for [0 1] and also I could not find that line in the matlab file simult.m.
I was trying to simulate (not estimate) a model with a shock which is not have normal distributions. Particularly I'd be interested in specifying that my shock is uniformly distributed(-1,1). (I'm also interested in truncated normals.)
I would like to figure out the best way to specify how to do this in the shocks; I use Dynar4.4.3.
Thanks for the help,
PS: I saw the http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=1855 but unfortunately it is just for [0 1] and also I could not find that line in the matlab file simult.m.