2012-02-07 51 views
1

如何在我的MATLAB安裝中檢查MATLAB編碼器包是否可用?如何在MATLAB中檢查MATLAB編碼器版本?

+4

似乎有關於MATLAB'ver'和'license'命令[這裏](HTTP相當不錯的解釋:// stackoverflow.com/questions/2060382/how-would-one-check-for-installed-matlab-toolboxes-in-a-script-function) – 2012-02-07 08:24:28

回答

3

您可以在代碼中調用'ver'。然後,如果你解析輸出,你可以看到天氣MATLAB編碼器安裝與否:

>> v = ver; 
>> setdiff({v.Name}, 'MATLAB')' 

ans = 

    'Aerospace Blockset' 
    'Aerospace Toolbox' 
    'Bioinformatics Toolbox' 
    'Communications System Toolbox' 
    'Computer Vision System Toolbox' 
    'Control System Toolbox' 
    'Conversion to SeDuMi' 
    'Curve Fitting Toolbox' 
    'DSP System Toolbox' 
    'Database Toolbox' 
    'Datafeed Toolbox' 
    'Econometrics Toolbox' 
    'Embedded Coder' 
    'Financial Derivatives Toolbox' 
    'Financial Toolbox' 
    'Fixed-Income Toolbox' 
    'Fixed-Point Toolbox' 
    'Fuzzy Logic Toolbox' 
    'Global Optimization Toolbox' 
    'Image Acquisition Toolbox' 
    'Image Processing Toolbox' 
    'Instrument Control Toolbox' 
    'MATLAB Coder' 
    'MATLAB Distributed Computing Server' 
    'MATLAB Report Generator' 
    'Mapping Toolbox' 
    'Model Predictive Control Toolbox' 
    'Neural Network Toolbox' 
    'Optimization Toolbox' 
    'Parallel Computing Toolbox' 
    'Partial Differential Equation Toolbox' 
    'Phased Array System Toolbox' 
    'RF Toolbox' 
    'Robust Control Toolbox' 
    'Signal Processing Toolbox' 
    'SimBiology' 
    'SimDriveline' 
    'SimElectronics' 
    'SimEvents' 
    'SimHydraulics' 
    'SimMechanics' 
    'SimPowerSystems' 
    'SimRF' 
    'Simscape' 
    'Simulink' 
    'Simulink 3D Animation' 
    'Simulink Coder' 
    'Simulink Control Design' 
    'Simulink Design Optimization' 
    'Simulink Fixed Point' 
    'Simulink Report Generator' 
    'Simulink Verification and Validation' 
    'Stateflow' 
    'Statistical Graphics Toolbox' 
    'Statistical Parametric Mapping' 
    'Statistics Toolbox' 
    'Symbolic Math Toolbox' 
    'System Identification Toolbox' 
    'SystemTest' 
    'Wavelet Toolbox'