code: public MatlabResult addResult(String name, MatlabValue result) {
          checkNotNull(name);
          checkNotNull(result);
          this.results.put(name, result);
          return this;
      }
docs: Adds a result {@link MatlabValue}.
  
  @param name   the name of the result
  @param result the result <code>MatlabValue</code>
  
  @return this