- Open the Requirements Editor and create a new profile named "SysReqProfile". Within this profile define a new stereotype called "SystemRequirement".
- Save the profile in the Profile Editor. This step is crucial for ensuring that the profile is properly registered and recognized.
- Once the profile has been saved, import it into the Requirements Editor. This will facilitate the appearance of the new stereotype in the "Type" field of the requirements.
- Within the Requirements Editor, in the requirements model, create new requirements and assign the requirement type using the custom stereotype, "SysReqProfile.SystemRequirement.
- Save the requirements and generate the report by navigating to the "Export > Generate Report" section in the Requirments Editor.
Error generating report from requirements stereotyped using a profile
2 views (last 30 days)
Show older comments
I have created a simple profile SysReqProfile.xml that contains a stereotyped requirement called SystemRequirement based on Functional requirement. I have added a property to the stereotype.
I have applied the profile to a requirements model and created some requirements and used the SysReqProfile.SystemRequirement to specify the requirement type so that I can then specify the custom properties via the Stereotype Attributes section.
If, in the Requirements Editor, I use Export -> Generate Report... to generate a report (any format) I get an report generation error message stating ...
Specified requirement type name "SysReqProfile.SystemRequirement" is not found and the report generation fails.
How can I use the report generation features with requirements that use stereotypes defined in a profile?
If I set the requirement type back to Functional then the report generation works as expected.
0 Comments
Accepted Answer
Aneela
on 2 Jan 2025
Hi @Andrew
I have attempted to replicate the issue you reported and did not encounter any errors during the process. Please consider the following approach for successful report generation:
Please refer to the following MathWorks documentation for more information on creating a profile and defining stereotypes: https://www.mathworks.com/help/slrequirements/ug/customize-requirements-and-links-by-using-stereotypes.html
1 Comment
More Answers (0)
See Also
Categories
Find more on Author Requirements 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!