One medication may have been developed first
and others later that are somewhat similar chemically
and in the same chemical family but they may be completely different medications. I take Methocarb and that is prescribed for me to control dystonic spasms. It is an anti spasmodic. Meprobamate is an anti anxiety medication.
Any of these medications can be prescribed for other purposes as determined by a doctor or psychiatrist or other treating professional.