예제 #1
0
        public SimulinkConnectorFixture()
        {
            Connector = null;
            Logger    = new SmartLogger();

            Logger.AddWriter(new ConsoleTextWriter());

            try
            {
                Logger.WriteInfo("Attempting to launch MATLAB COM automation server");
                Connector = new SimulinkModelImport.SimulinkConnector(Logger);
            }
            catch (Exception e)
            {
                Logger.WriteWarning("MATLAB/Simulink not found");
            }
        }