error in slreq.app BadgeManager and slreq.MainManager

5 views (last 30 days)
Suddenly when I click on Apps>Requirements Manager i got the following errors
Warning: Error occurred while executing the listener callback for event ReqPerspectiveChange defined for class slreq.app.PerspectiveManager:
Dot indexing is not supported for variables of this type.
Error in slreq.app.BadgeManager/setVisibilityForBadges
Error in slreq.app.BadgeManager/showBadgeForSL
Error in slreq.app.BadgeManager/showBadge
Error in slreq.app.BadgeManager/showBadgesForLinkedItems
Error in slreq.app.BadgeManager/showBadges
Error in slreq.app.BadgeManager/enableBadges
Error in slreq.app.MainManager/perspectiveChangeHandler
Error in slreq.app.MainManager/initPerspective>@(varargin)this.perspectiveChangeHandler(varargin{:})
Error in slreq.app.PerspectiveManager/togglePerspective
Error in slreq.toolstrip.openAppReqEditor
> In slreq.app/PerspectiveManager/togglePerspective
In slreq.toolstrip.openAppReqEditor
Regards
Enrique
  4 Comments
Enrique
Enrique on 26 May 2023
The version of matlab is shown in the right column, which is R2019b. Yes I have tried to restart and open the model the following message is shown (I believe they are the same):
Warning: Error occurred while executing the listener callback for event ReqPerspectiveChange defined
for class slreq.app.PerspectiveManager:
Dot indexing is not supported for variables of this type.
Error in slreq.app.BadgeManager/setVisibilityForBadges
Error in slreq.app.BadgeManager/showBadgeForSL
Error in slreq.app.BadgeManager/showBadge
Error in slreq.app.BadgeManager/showBadgesForLinkedItems
Error in slreq.app.BadgeManager/showBadges
Error in slreq.app.BadgeManager/enableBadges
Error in slreq.app.MainManager/perspectiveChangeHandler
Error in slreq.app.MainManager/initPerspective>@(varargin)this.perspectiveChangeHandler(varargin{:})
Error in slreq.app.PerspectiveManager/togglePerspective
Error in slreq.toolstrip.openAppReqEditor
> In slreq.app/PerspectiveManager/togglePerspective
In slreq.toolstrip.openAppReqEditor

Sign in to comment.

Answers (1)

Jinal
Jinal on 25 Aug 2023
Edited: Jinal on 25 Aug 2023
Hello Enrique,
I understand that you are encountering errors while trying to open the ‘Requirements Manager’ app from the ‘Apps’ tab in MATLAB.
In this case, as a workaround, you can try opening the Requirements Editor using the following command in MATLAB R2019b:
slreq.editor
For more information on opening Requirements Editor, you can refer the following link: https://in.mathworks.com/help/releases/R2019b/slrequirements/ref/slreq.editor.html
Further, you can also try upgrading to MATLAB R2022a or a later version and use anyone of the following options:
1) Use the ‘slreq.openRequirementsManager’ command. An example for this is given below:
open_system('model_name');
slreq.openRequirementsManager('model_name');
For more information, refer this link:
2) Open the Requirements Editor app using any of the following ways:
a) Simulink Toolstrip: On the ‘Apps’ tab, under ‘Model Verification, Validation, and Test’, click ‘Requirements Editor’.
b) MATLAB Toolstrip: On the ‘Apps’ tab, under ‘Verification, Validation, and Test’, click ‘Requirements Editor’.
c) Type this command on MATLAB command prompt,
slreq.editor
For more information on the same, refer the link below:
I hope this helps.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!