Skip to content

Commit

Permalink
Use Matlab defaults for Bode plots
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrowley committed Apr 26, 2015
1 parent f48161b commit ebf8364
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions control/matlab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,10 @@
from numpy import linspace, logspace

# If configuration is not yet set, import and use MATLAB defaults
#! NOTE (RMM, 4 Nov 2012): MATLAB default initialization commented out for now
#!
#! This code will eventually be used so that import control.matlab will
#! automatically use MATLAB defaults, while import control will use package
#! defaults. In order for that to work, we need to make sure that
#! __init__.py does not include anything in the MATLAB module.
# import sys
# if not ('.config' in sys.modules):
# from . import config
# config.use_matlab()
import sys
if not ('.config' in sys.modules):
from .. import config
config.use_matlab_defaults()

# Control system library
from ..statesp import *
Expand Down

0 comments on commit ebf8364

Please sign in to comment.