Link between two components exists in system composer, but cannot be traced in sequence diagrams

Hello,
I am working on System Composer, and am mainly using Sequence Diagrams to help clarify my models.
My model is complete and working, with components linked together using signals.
My problem is that I am unable to trace certain signals in Sequence Diagrams. Until now, all the signals I used worked fine, but this specific signal refuses to be traced.
The given message pops up when I try to link my two given components with the given signal :
There was an error during create message caused by : The component corresponding to the destination lifeline "XX" in the architecture model has been deleted or moved.
Yet, the two components I try to link do exist, and I tried deleting them and re-creating them, without success. The link I trace is right as well, and I deleted it and re-created it multiple times as well, without success still.
I have no idea why this problem occurs (since the component in question is present and has not been "deleted or moved"), and it is blocking me from realizing most of my sequence diagrams. I would gladly accept some help.
Thanks in advance

4 Comments

Hi Loic,
Can you attach the screenshot of system composer model and screenshot of the sequence diagram? Aditionally it would be very helpful if you could attach the ".slx" files as well as reproduction steps so that I can reproduce the error on my end.
Yes, here is the screenshot of the sequence diagram with error, and of the model with the signal that causes this issue.
I am not authorized to share the .slx files, so all I can do is share heavily censored screenshots.
Important note : the signal circled in red is the one I talked about in the initial post. But the issue appears for every signal connected to this component, should it be an input or an output (output Speed Detection signal causes the same error message, but component is noted as source instead of destination).
Plus, the same issue goes for the other similar components (Communication/Conditioning for speed, and position). The issue seems to come from those components specifically.
Hi Loic,
It is difficult to know the cause of error by looking at the screenshots. Can you provide a dummy .slx file where this error can be produced, along with the reproduction steps?
Hello,
Sadly I do not think I can do so. The model from which I build the sequence diagrams is not mine, and I have no information about the realization of this model.
Every time I created models myself, I did not have this issue, and recreating the base model in question seems to solve this issue. This is what I did at this moment, so the issue can be considered "solved", as the problem did not reappear on this new model. This issue will have to remain a mystery for now.
Thank you for your help !

Sign in to comment.

Answers (1)

Hi @Loic,
Can you please try pressing the "Check Consistency" button in the toolstrip and then the "Repair" button and let us know if you still see the issue after that?
Thanks in advance
Josh

3 Comments

Hello,
I tried doing so, without success. The check consistency button does highlight the lifelines corresponding to the problematic components, but the Repair button does not seem to do nor solve anything. The error remains
The component in question is not the same as the one mentioned in the original post, but the problem seems to be exactly the same
PS : I recreated the base model, which seems to solve this issue, as it did not reappear. So for now, my problem is solved. Thank you for your help !
Nonetheless, I am still open to ideas as to how this problem arrived, and would be happy to help.
Glad you have a workaround. Can you send us the problematic model using the "Report a Bug" button:
Josh

Sign in to comment.

Categories

Find more on System Composer in Help Center and File Exchange

Products

Release

R2023a

Asked:

on 29 Aug 2023

Commented:

on 30 Aug 2023

Community Treasure Hunt

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

Start Hunting!