% general set (For knowledgeable use only.) function op = set(op, str, val) op.(str) = val;