如何在我的MATLAB安装中检查MATLAB Coder包是否可用?
答案 0 :(得分: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'