We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f48161b commit ebf8364Copy full SHA for ebf8364
1 file changed
control/matlab/__init__.py
@@ -55,16 +55,10 @@
55
from numpy import linspace, logspace
56
57
# If configuration is not yet set, import and use MATLAB defaults
58
-#! NOTE (RMM, 4 Nov 2012): MATLAB default initialization commented out for now
59
-#!
60
-#! This code will eventually be used so that import control.matlab will
61
-#! automatically use MATLAB defaults, while import control will use package
62
-#! defaults. In order for that to work, we need to make sure that
63
-#! __init__.py does not include anything in the MATLAB module.
64
-# import sys
65
-# if not ('.config' in sys.modules):
66
-# from . import config
67
-# config.use_matlab()
+import sys
+if not ('.config' in sys.modules):
+ from .. import config
+ config.use_matlab_defaults()
68
69
# Control system library
70
from ..statesp import *
0 commit comments