how to make a moving cable in an assembly in SolidWorks?

I have an assembly in SolidWorks about solar cells (they have two cables) so, how can I make them move and connect it to a control?