how can using command "RIM" to create the requirement Tracability of Transition in stateFlow

1 Ansicht (letzte 30 Tage)
Hi,
I want to know how to create traceability requierment of transition in stateFlow, we use the simulink command "RIM", I have created the requirement for Simulink models by the script:
if true
% code
slvnvdemo_fuelsys_htmreq;
blk_with_req = ['slvnvdemo_fuelsys_htmreq/fuel rate' 10 'controller/...
Airflow calculation'];
%Create new requirement link to example document fuelsys_requirements2.htm.
new_req = rmi('createempty');
new_req.doc = 'fuelsys_requirements2.htm';
new_req.description = 'A new requirement';
%Add new requirement link to existing requirements links for the Airflow calculation block.
rmi('cat', blk_with_req, new_req);
end
my problem, I want to know the path of a transition ,for example in simulink the path of model ('input') is : blk_with_req ='name_blc/name_input'.for the test I use the Simulink model : 'slvnvdemo_fuelsys_htmreq'

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by