Remove output argument.

silicon
Stéphane Adjemian (Ryûk) 2023-03-04 20:10:50 +01:00
parent 2ab19c1aa9
commit c006645c7f
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,4 @@
function str = search(variablename)
function search(variablename)
% Prints equations where the variable appears in.
%
@ -90,9 +90,6 @@ for it = 1:length(M_.mapping.(variablename).eqidx)
withexpansion = false;
end
end
if nargout
str = sprintf('%s = %s;\n', model{M_.mapping.(variablename).eqidx(it)}.lhs, rhs);
end
skipline()
fprintf('%s = %s;\n', model{id}.lhs, rhs);
end