public APIPanel(APIForm parent, MatlabConfiguration ml_config) { this.parent = parent; this.ml_config = ml_config; InitializeComponent(); InitFolderSelect(); }
public ImportReviewForm(Form APIForm, MatlabConfiguration ml_config) { this.api_form = APIForm; this.ml_config = ml_config; InitializeComponent(); this.FormClosing += new FormClosingEventHandler(this.ImportReviewForm_FormClosing); }
public MatrixAPIForm() { ml_config = new MatlabConfiguration(); review_form = new ImportReviewForm(this, ml_config); InitializeComponent(); InitFolderSelect(); }
public APIForm() { APIForm.ml_config = new MatlabConfiguration(); api_panel = new APIPanel(this, ml_config); import_panel = new ImportReviewPanel(this, ml_config); this.FormClosing += new FormClosingEventHandler(this.APIForm_FormClosing); api_panel.ShowPanel(); }
public CheckResult CheckMatlabRoot(out string chk_s) { CheckResult res = CheckRelease(); if (res == CheckResult.SUCCESS) { chk_s = "Found matlab.exe at " + MatlabConfiguration.GetMatlabExePath(MatlabRoot); } else { chk_s = "Could not find matlab.exe at expected location " + MatlabConfiguration.GetMatlabExePath(MatlabRoot); } return(res); }
public CheckResult CheckRelease(out string chk_s) { CheckResult res = CheckRelease(); if (res == CheckResult.SUCCESS) { chk_s = "Found version.txt at " + MatlabConfiguration.GetVersionTxtPath(MatlabRoot); } else { chk_s = "Could not find version.txt at expected location " + MatlabConfiguration.GetVersionTxtPath(MatlabRoot); } return(res); }
public ConfigurationImporter(MatlabConfiguration ml_config) { this.MatlabRoot = ml_config.matlabroot; this.Release = ml_config.GetRelease(); this.API = ml_config.GenerateAPIFullName(); this.Platform = ml_config.GeneratePlatformString(); this.IncludePath = ml_config.GenerateIncludePath(); this.LibraryPath = ml_config.GenerateLibraryPath(); this.Dependencies = ml_config.GenerateDependencies(); this.PreprocessorDefinitions = ml_config.GeneratePreprocessorDefinitions(); this.AdditionalLinkerOptions = ml_config.GenerateAdditionalLinkerOptions(); this.MEXExtension = ml_config.GenerateMEXExtension(); this.TargetMachine = ml_config.GenerateTargetMachine(); this.CompileAs = ml_config.GenerateCompileAs(); this.ProjectExtension = ml_config.GenerateProjectExtension(); this.FileExtension = ml_config.GenerateFileExtension(); this.APIShortName = ml_config.GenerateAPIShortName(); }
public CheckResult CheckMatlabRoot() { return(File.Exists(MatlabConfiguration.GetMatlabExePath(MatlabRoot)) ? CheckResult.WARNING : CheckResult.SUCCESS); }
public MatrixAPIPanel(APIForm parent, MatlabConfiguration ml_config) : base(parent, ml_config) { InitializeComponent(); InitFolderSelect(); }
public ImportReviewPanel(APIForm parent, MatlabConfiguration ml_config) { this.parent = parent; this.ml_config = ml_config; InitializeComponent(); }