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

5 ビュー (過去 30 日間)
Audrey
Audrey 2024 年 1 月 17 日
回答済み: Josh Kahn 2024 年 1 月 18 日
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.

回答 (1 件)

Josh Kahn
Josh Kahn 2024 年 1 月 18 日
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);

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by