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

1 view (last 30 days)
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'

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!