It seems you're encountering a rigid connection error in a Revolute Joint in Simscape after importing from SolidWorks. This issue is often caused by the way the CAD model is constructed. In particular, a joint in Simscape requires two separate bodies connected by a frame, but in some CAD models, joints may be added purely for assembly purposes without considering the dynamic behavior of the system.
This typically results from "bad" or overly rigid modeling practices in the CAD environment. To ensure a successful and repeatable import into Simscape, it's important to properly model the assembly in your CAD software with simulation requirements in mind.
In SolidWorks, it's especially useful to understand how mates map to Simscape joints. You can find more information here:
Improving the CAD model setup before import should resolve the issue.
Hope this helps!