Are the grayed-out tire parameter fields in the "Combined Slip Wheel 2DOF" block closed-source, and if not, how can they be accessed?

7 visualizzazioni (ultimi 30 giorni)
Hello,
I was looking into the block "Combined Slip Wheel 2DOF" and I noticed that selecting predefined models like "Light passenger car 205/60R15" or "Mid-size passenger car 235/45R18" results in most tire parameter fields being grayed out, with only a few editable unless the "load from external file" option is selected. Are these fields grayed out because the models are closed-source, and the parameter values are not publicly accessible? If they are publicly available, is there a way to access these values?

Risposte (1)

Manish
Manish il 29 Gen 2025
Modificato: Manish il 31 Gen 2025
Hi Kenneth,
I understand that you want to access the grayed-out tire parameters for the 'Combined Slip Wheel 2DOF' block.
This can be achived by the following steps:
  1. Save the model with specific model name.
  2. Create a variable in MATLAB and store the block path.
  3. Use the 'get_params' function,specifying the block path and attribute.
Here is the sample code:
%blockPath='your_model_name/your_block_name'
blockPath = 'car/Combined Slip Wheel 2DOF'; % my_model_name=car
%Parameter_value = get_param(blockPath, 'attribute_name')
Parameter_value=get_param(blockPath, 'LONGITUDINAL_STIFFNESS');
The grayed-out parameters have different attributes. For example, the 'Structural' category includes the 'LONGITUDINAL_STIFFNESS' attribute. These attributes are used in the code and can be found on the documentation page.
Refer the below documentation links for better understanding:
Hope it helps!

Categorie

Scopri di più su Tires and Vehicles in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by