Commit a22ae995 authored by Philipp Schäfer's avatar Philipp Schäfer

itaComsolParameters

-bugfix: Now does not display result anymore when setting a parameter

itaComsolModel
-doc update
parent 38ef536b
......@@ -54,7 +54,7 @@ classdef itaComsolModel < handle
properties(Dependent = true, SetAccess = private)
modelNode; %The comsol model node
parameter; %Interface to access Comsol parameter clients (itaComsolParameters)
parameter; %Interface to access Comsol parameter clients (itaComsolParameters)
selection; %Interface to access Comsol selection clients (itaComsolSelection)
func; %Interface to access Comsol function clients (itaComsolFunction)
geometry; %Interface to access Comsol geometry sequences (itaComsolMaterial)
......
......@@ -26,7 +26,7 @@ classdef itaComsolParameters < itaComsolNode
paramNode = parameterNodeNames{idxNode};
if ~any(strcmp(cell(paramNode.varnames), parameterName)); continue; end
paramNode.set(parameterName, value)
paramNode.set(parameterName, value);
return;
end
error('Parameter of with given name is not defined')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment