Prior draws

Can somebody help me to generate parameter draws from the prior distribution.

I use the rndprior function. But when I run the .mod file it gives me an error saying the bayestopt_ structure does not exist.

Does anybody know how we can get the bayestopt_ structure to show in the workspace??