throws IllegalActionException {
Variable variable = (Variable) container.getAttribute(name);
if (variable == null) {
try {
variable = new TemporaryVariable(container, name);
variable.setVisibility(Settable.NOT_EDITABLE);
variable.setPersistent(false);
} catch (KernelException ex) {
throw new InternalErrorException(container, ex,
"Should not occur");