How to modify or set index number when importing requirements from Microsoft Excel document?
51 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
JinWook Park
il 26 Nov 2024 alle 2:24
Commentato: JinWook Park
il 26 Nov 2024 alle 6:05
hello.
When I import requirements into excel, I want to modify or set the number of indexes, but I get a message that the index number cannot be modified.
Please let me know how I can modify the Idnex number.
0 Commenti
Risposta accettata
Angelo Yeo
il 26 Nov 2024 alle 4:25
Modificato: Angelo Yeo
il 26 Nov 2024 alle 4:28
You can use some custom attributes of slreq.import to specify requirement hierarchy from command line. Below is an example.
slreq.import('ReproductionMod.xlsx', ...
'match', '\d[\.\d]*', 'summaryColumn', 4, 'rows', [2 21], ...
'descriptionColumn', 5, 'columns', [1 9], ...
'attributes', {'OrigID', 'State', 'Element', 'ASIL', 'OrigRevision', 'TraceStatus'}, ...
'attributeColumn', [2 3 6 7 8 9])
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Import, Update, and Export Requirements in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!