Requirements manager: How to maintain bidirectional requirements

Hi all.
After that I've created the requirements structure in exel file and i imported the requirements from the exel file into the Requirements manager, if I modify the requirements in the Requirements manager there is the possibility to maintain the bidirectionality of the change automatically with some mechanism or with an export function in the source exel file.
Thank you in advance.

4 Comments

Thank you Pat but it doesn't seem to work.
I created in simulink a test template called TestMod.slx, easy, one input and one output.
I created in simulink data dictionary TestMod.sldd, easy, one input data description and one output data description.
I created in Requirements manager a test requirement set TestMod.slreqx, easy, one requirement for the input and one for the output.
I've linked the requirements to the input and to the output in the model.
With update model, the model compile with no error and it's ok.
Now i follow the line to export requirement to the exel described in the link above that you mention.
My script called Export_Req_Exel_3 is here:
clear all;
clc;
sysReqSeqSet = slreq.open("TestMod.slreqx"); % TestMod.slreqx -> Created with Requirements manager toolbox
open_system("TestMod"); % TestMod.slx -> Open the model
open("TestMod.sldd"); % TestMod.sldd -> Open the data dictionary
outFile = 'Req_TestMod.xls'; % Req_TestMod.xls -> Assign the output exel file to export the requirements
columnConfig = {'Description'}; % -> Select a property inside the requirement set
reqXlsExport(sysReqSeqSet, outFile, columnConfig); % -> Launch the export command
The exel is not updated and the command window returns this error below, but I can't figure out the nature of this.
'reqXlsExport' is used in Export Requirement and Link Information to Excel.
Error in Export_Req_Exel_3 (line 8)
reqXlsExport(sysReqSeqSet, outFile, columnConfig);
Thank you in advance.
I understand the problem, the script reqXlsExport is not installed locally and the openExample('slrequirements/ExportRequirementsAndLinksToSpreadsheetsExample') command does not work, a bad trouble for me
Problem solved, the default workbook under OneDrive did not allow writes, I changed the local path, now it works. I apologize for not identifying where the problem was right away. Best regards

Sign in to comment.

Answers (1)

Just closing this out based on discussion with @Luca above.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Release

R2024a

Asked:

on 14 Jun 2024

Answered:

on 5 May 2026 at 18:06

Community Treasure Hunt

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

Start Hunting!