matlab-dockerfile icon indicating copy to clipboard operation
matlab-dockerfile copied to clipboard

Provide List of Products Exactly as the should appear in the dockerfile

Open SCdW opened this issue 3 years ago • 3 comments

It can be difficult to get the correct product name for each product with correct capitalization, use of underscores, etc. It would be good if there was a succinct list of all product names either as its own file or commented in the dockerfile. This is slightly related to #47 .

SCdW avatar Oct 03 '22 16:10 SCdW

I would like to see this fixed. I tried to use the strings from "ver" or "license inuse"--it was very unclear what the product names should be. I thought that maybe these were being obfuscated on purpose because MathWorks did not want people to know what the product names were and we should be getting the right strings from an account representative?

bluehalo-user avatar Oct 03 '22 18:10 bluehalo-user

I believe this is explained in MPM.md under the section Product Availability, the first comment states:

"mpm can install most MathWorks products. See the MathWorks website for the full list of available products and their names. Replace spaces with underscores when specifying product names with the --products option."

ebenetce avatar Oct 04 '22 16:10 ebenetce

I believe this is explained in MPM.md under the section Product Availability, the first comment states:

"mpm can install most MathWorks products. See the MathWorks website for the full list of available products and their names. Replace spaces with underscores when specifying product names with the --products option."

It's not though. For example, data acquisition toolbox is not available. And is Simulink: SIMULINK or Simulink? Hint, it's not what you think. Hence the need for a comprehensive list of options you can pick from.

SCdW avatar Oct 04 '22 16:10 SCdW

It might be a better idea to make this a case-insensitive comparison.

CiaranMcAndrew avatar Jan 25 '23 22:01 CiaranMcAndrew

hi,all: When I execute this statement available = string(feature('lmfeaturelist')) in the current latest version of R2022b, I can get the full list of names for your reference.

available = string(feature('lmfeaturelist'))
available = 
  114×1 string array
    "AUTOSAR_Blockset"
    "Aerospace_Blockset"
    "Aerospace_Toolbox"
    "Antenna_Toolbox"
    "Audio_System_Toolbox"
    "Automated_Driving_Toolbox"
    "Bioinformatics_Toolbox"
    "Cert_Kit_IEC"
    "Communication_Toolbox"
    "Compiler"
    "Control_Toolbox"
    "Curve_Fitting_Toolbox"
    "DATAFEED_TOOLBOX"
    "DDS_Blockset"
    "Data_Acq_Toolbox"
    "Database_Toolbox"
    "Deep_Learning_HDL_Toolbox"
    "Distrib_Computing_Toolbox"
    "Econometrics_Toolbox"
    "Excel_Link"
    "Filter_Design_HDL_Coder"
    "Fin_Instruments_Toolbox"
    "Financial_Toolbox"
    "Fixed_Point_Toolbox"
    "Fuzzy_Toolbox"
    "GADS_Toolbox"
    "GPU_Coder"
    "Identification_Toolbox"
    "Image_Acquisition_Toolbox"
    "Image_Toolbox"
    "Instr_Control_Toolbox"
    "LTE_HDL_Toolbox"
    "LTE_Toolbox"
    "Lidar_Toolbox"
    "MAP_Toolbox"
    "MATLAB"
    "MATLAB_5G_Toolbox"
    "MATLAB_Builder_for_Java"
    "MATLAB_Coder"
    "MATLAB_Distrib_Comp_Engine"
    "MATLAB_Production_Server"
    "MATLAB_Report_Gen"
    "MATLAB_Web_App_Server"
    "MBC_Toolbox"
    "MPC_Toolbox"
    "Mixed_Signal_Blockset"
    "Motor_Control_Blockset"
    "Navigation_Toolbox"
    "Neural_Network_Toolbox"
    "OPC_Toolbox"
    "Optimization_Toolbox"
    "PDE_Toolbox"
    "Phased_Array_System_Toolbox"
    "PolySpace_BF"
    "PolySpace_BF_Server"
    "PolySpace_CP"
    "PolySpace_CP_Server"
    "Power_System_Blocks"
    "Powertrain_Blockset"
    "Pred_Maintenance_Toolbox"
    "Qual_Kit_DO"
    "RF_Blockset"
    "RF_PCB_Toolbox"
    "RF_Toolbox"
    "ROS_Toolbox"
    "RTW_Embedded_Coder"
    "Radar_Toolbox"
    "Real-Time_Win_Target"
    "Real-Time_Workshop"
    "Reinforcement_Learn_Toolbox"
    "Risk_Management_Toolbox"
    "Robotics_System_Toolbox"
    "Robust_Toolbox"
    "SIMULINK"
    "SIMULINK_Report_Gen"
    "Satellite_Comm_Toolbox"
    "Sensor_Fusion_and_Tracking"
    "SerDes_Toolbox"
    "Signal_Blocks"
    "Signal_Integrity_Toolbox"
    "Signal_Toolbox"
    "SimBiology"
    "SimDriveline"
    "SimEvents"
    "SimHydraulics"
    "SimMechanics"
    "Simscape"
    "Simulink_Code_Inspector"
    "Simulink_Compiler"
    "Simulink_Control_Design"
    "Simulink_Design_Optim"
    "Simulink_Design_Verifier"
    "Simulink_HDL_Coder"
    "Simulink_PLC_Coder"
    "Simulink_Requirements"
    "Simulink_Test"
    "SoC_Blockset"
    "Stateflow"
    "Statistics_Toolbox"
    "Symbolic_Toolbox"
    "System_Composer"
    "Text_Analytics_Toolbox"
    "UAV_Toolbox"
    "Vehicle_Dynamics_Blockset"
    "Vehicle_Network_Toolbox"
    "Video_and_Image_Blockset"
    "Virtual_Reality_Toolbox"
    "Vision_HDL_Toolbox"
    "WLAN_System_Toolbox"
    "Wavelet_Toolbox"
    "XPC_Target"
    "eda_simulator_link"
    "simulink_coverage"
    "sl_verification_validation"

in addition, you can reference other's dockerfile full products list, https://github.com/mathworks-ref-arch/matlab-dockerfile/issues/55#issue-1470976101

cuixing158 avatar Feb 03 '23 03:02 cuixing158

hi,all: When I execute this statement available = string(feature('lmfeaturelist')) in the current latest version of R2022b, I can get the full list of names for your reference.

available = string(feature('lmfeaturelist'))
available = 
  114×1 string array
    "AUTOSAR_Blockset"
    "Aerospace_Blockset"
    "Aerospace_Toolbox"
    "Antenna_Toolbox"
    "Audio_System_Toolbox"
    "Automated_Driving_Toolbox"
    "Bioinformatics_Toolbox"
    "Cert_Kit_IEC"
    "Communication_Toolbox"
    "Compiler"
    "Control_Toolbox"
    "Curve_Fitting_Toolbox"
    "DATAFEED_TOOLBOX"
    "DDS_Blockset"
    "Data_Acq_Toolbox"
    "Database_Toolbox"
    "Deep_Learning_HDL_Toolbox"
    "Distrib_Computing_Toolbox"
    "Econometrics_Toolbox"
    "Excel_Link"
    "Filter_Design_HDL_Coder"
    "Fin_Instruments_Toolbox"
    "Financial_Toolbox"
    "Fixed_Point_Toolbox"
    "Fuzzy_Toolbox"
    "GADS_Toolbox"
    "GPU_Coder"
    "Identification_Toolbox"
    "Image_Acquisition_Toolbox"
    "Image_Toolbox"
    "Instr_Control_Toolbox"
    "LTE_HDL_Toolbox"
    "LTE_Toolbox"
    "Lidar_Toolbox"
    "MAP_Toolbox"
    "MATLAB"
    "MATLAB_5G_Toolbox"
    "MATLAB_Builder_for_Java"
    "MATLAB_Coder"
    "MATLAB_Distrib_Comp_Engine"
    "MATLAB_Production_Server"
    "MATLAB_Report_Gen"
    "MATLAB_Web_App_Server"
    "MBC_Toolbox"
    "MPC_Toolbox"
    "Mixed_Signal_Blockset"
    "Motor_Control_Blockset"
    "Navigation_Toolbox"
    "Neural_Network_Toolbox"
    "OPC_Toolbox"
    "Optimization_Toolbox"
    "PDE_Toolbox"
    "Phased_Array_System_Toolbox"
    "PolySpace_BF"
    "PolySpace_BF_Server"
    "PolySpace_CP"
    "PolySpace_CP_Server"
    "Power_System_Blocks"
    "Powertrain_Blockset"
    "Pred_Maintenance_Toolbox"
    "Qual_Kit_DO"
    "RF_Blockset"
    "RF_PCB_Toolbox"
    "RF_Toolbox"
    "ROS_Toolbox"
    "RTW_Embedded_Coder"
    "Radar_Toolbox"
    "Real-Time_Win_Target"
    "Real-Time_Workshop"
    "Reinforcement_Learn_Toolbox"
    "Risk_Management_Toolbox"
    "Robotics_System_Toolbox"
    "Robust_Toolbox"
    "SIMULINK"
    "SIMULINK_Report_Gen"
    "Satellite_Comm_Toolbox"
    "Sensor_Fusion_and_Tracking"
    "SerDes_Toolbox"
    "Signal_Blocks"
    "Signal_Integrity_Toolbox"
    "Signal_Toolbox"
    "SimBiology"
    "SimDriveline"
    "SimEvents"
    "SimHydraulics"
    "SimMechanics"
    "Simscape"
    "Simulink_Code_Inspector"
    "Simulink_Compiler"
    "Simulink_Control_Design"
    "Simulink_Design_Optim"
    "Simulink_Design_Verifier"
    "Simulink_HDL_Coder"
    "Simulink_PLC_Coder"
    "Simulink_Requirements"
    "Simulink_Test"
    "SoC_Blockset"
    "Stateflow"
    "Statistics_Toolbox"
    "Symbolic_Toolbox"
    "System_Composer"
    "Text_Analytics_Toolbox"
    "UAV_Toolbox"
    "Vehicle_Dynamics_Blockset"
    "Vehicle_Network_Toolbox"
    "Video_and_Image_Blockset"
    "Virtual_Reality_Toolbox"
    "Vision_HDL_Toolbox"
    "WLAN_System_Toolbox"
    "Wavelet_Toolbox"
    "XPC_Target"
    "eda_simulator_link"
    "simulink_coverage"
    "sl_verification_validation"

in addition, you can reference other's dockerfile full products list, #55 (comment)

In R2022b, this is missing Simscape Battery and Medical Imaging Toolbox.

SCdW avatar Feb 09 '23 16:02 SCdW

@sbnicholas @drobinson0 thoughts ?

prabhakk-mw avatar Feb 27 '23 13:02 prabhakk-mw

An upcoming release of mpm will include a list command, which will output an accurate product list for a specified platform and release.

Until then, the official product list accurately lists valid product names for the install command for the current MATLAB release: full name, case sensitive, underscores in place of spaces. Data Acquisition Toolbox is not available in mpm because currently mpm only supports Linux and Data Acquisition Toolbox is not available on Linux at all. "Simulink" is correct, per the official product list.

available = string(feature('lmfeaturelist')) outputs feature names, not product names. Feature names are used for licensing and are not a 1:1 match against product names. In cases where the feature name and the product name do not match, mpm will not accept the feature name.

sbnicholas avatar Feb 28 '23 18:02 sbnicholas

@sbnicholas @prabhakk-mw Is there a way to install Support packages when building a dockerfile? I'm specifically looking at the Quantum Support Package.

born-2learn avatar Jun 09 '23 03:06 born-2learn

@born-2learn , the latest update of MPM (2023.10.0.1) should allow for the installation of support packages. Kindly refer to MPM.md for more information.

prabhakk-mw avatar Oct 27 '23 06:10 prabhakk-mw