Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
SCdW opened this issue Oct 3, 2022 · 10 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@SCdW
Copy link

SCdW commented Oct 3, 2022

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 .

@bluehalo-user
Copy link

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?

@ebenetce
Copy link

ebenetce commented Oct 4, 2022

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."

@SCdW
Copy link
Author

SCdW commented Oct 4, 2022

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.

@CiaranMcAndrew
Copy link

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

@cuixing158
Copy link

cuixing158 commented Feb 3, 2023

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)

@SCdW
Copy link
Author

SCdW commented Feb 9, 2023

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.

@prabhakk-mw
Copy link
Member

@sbnicholas @drobinson0 thoughts ?

@sbnicholas
Copy link
Member

sbnicholas commented Feb 28, 2023

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.

@prabhakk-mw prabhakk-mw added the enhancement New feature or request label Apr 12, 2023
@born-2learn
Copy link

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

@prabhakk-mw
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants