Dear all,

I want to produce random variables in simulation in NONMEM PK block, I found 
the RANDMT and RANDMTU function in the NONMEM intro guide and I put

include nonmem_reserved_general
USE NM_INTERFACE,ONLY: RANDMT
USE NM_INTERFACE,ONLY: RANDMTU

and run like the guide said

RVAL1=RANDMTU(3,1,0,-1)
or
RVAL2=RANDMT(3)

but still shows problem that NONMEM could not recognize the RANDMT OR RANDMTU
e,g,
"FOUND ON LINE 17 AT THE APPROXIMATE POSITION NOTED:              
RVAL1=RANDMT(N)                    X  THE CHARACTERS IN ERROR ARE: RANDMT   208 
 UNDEFINED VARIABLE. NMtran failed. There is no output for model 1. Contents of 
FMSG:"

Do you know how to fix this or is that possible to run these functions in 
Simulation?
Thanks in advance


Le-Tao Li

PhD student

Pharmacy department

Erasmus MC

Reply via email to