How do I manually write what module to import in Simulink Requirements Toolbox for IBM?

1 visualización (últimos 30 días)
When linking requirements using the requirements toolbox widget and simulink I have to select both the module configuration and the change-set or global configuration, to do so I have to scroll through a large portion of other modules, and configurations to find what I am looking for. I am trying to find a solution to stream line this process by either enabling a way to filter what the developer is looking for or use a few lines of code to manually set the module and configuration. Any help or advice would be greatly appreciated. Using MATLAB version R2022A and the requirement toolbox version 2020A.

Respuestas (1)

Josh Kahn
Josh Kahn el 18 de En. de 2024
A lot of these issues tend to be very specific to how your DNG environment was set up. If you can't get this script below working, please reach out to tech support and we will help get you up and running.
Josh
DNG_SERVER = 'https://my.DNG.server:9443';
PROJECT_NAME = 'MyProject';
SERVICE_ROOT = 'rm';
CATALOG_PATH = '/oslc_rm/catalog';
CONFIG_CONTEXT = 'MyConfigContext';
client = oslc.Client;
setServer(client, DNG_SERVER);
login(client);
setServiceRoot(client, SERVICE_ROOT);
setCatalogPath(client, CATALOG_PATH);
setConfigurationContext(client, CONFIG_CONTEXT)
setServiceProvider(client, PROJECT_NAME);

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by