Skip to content

Commit d4525a1

Browse files
Update control/xferfcn.py
Co-authored-by: Sawyer Fuller <58706249+sawyerbfuller@users.noreply.github.com>
1 parent 3fb1a51 commit d4525a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

control/xferfcn.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,8 @@ def _isstatic(self):
12871287

12881288
# c2d function contributed by Benjamin White, Oct 2012
12891289
def _c2d_matched(sysC, Ts, **kwargs):
1290-
if sysC.ninputs > 1 or sysC.noutputs > 1:
1290+
if not sysC.issiso():
1291+
raise ControlMIMONotImplemented("Not implemented for MIMO systems")
12911292
raise ValueError("MIMO transfer functions not supported")
12921293

12931294
# Pole-zero match method of continuous to discrete time conversion

0 commit comments

Comments
 (0)