Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LRT_infinite_dimensional_systems
conI
Commits
2ed23e7c
Commit
2ed23e7c
authored
Oct 15, 2020
by
Jakob Gabriel
Browse files
misc.Gains.print: minor change
parent
045ef149
Changes
1
Hide whitespace changes
Inline
Side-by-side
+misc/Gains.m
View file @
2ed23e7c
...
...
@@ -482,11 +482,13 @@ classdef Gains < handle & matlab.mixin.Copyable
end
plusNeeded
=
false
;
for
it
=
1
:
numel
(
inputName
)
if
~
plusNeeded
myString
=
myString
+
obj
.
get
(
inputName
(
it
))
.
print
(
outputType
);
plusNeeded
=
true
;
else
myString
=
myString
+
" + "
+
obj
.
get
(
inputName
(
it
))
.
print
(
outputType
);
if
any
(
strcmp
(
obj
.
get
(
inputName
(
it
))
.
outputType
,
outputType
))
if
~
plusNeeded
myString
=
myString
+
obj
.
get
(
inputName
(
it
))
.
print
(
outputType
);
plusNeeded
=
true
;
else
myString
=
myString
+
" + "
+
obj
.
get
(
inputName
(
it
))
.
print
(
outputType
);
end
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment