% general get (For knowledgeable use only.) function val = get(opt, str) val = opt.(str);