I did this with the element out of an old bread machine and I heated water with it.
You have to match the current of the panels to the coil for the best results I added and took away panels till I got the best results for the coil I had.
I did not pursue this, The big down side is if you remove the electrical connection with DC there is a large spark, I did this with jumper cables for my test.
There are devices out there that are sold that match the coil to the solar panels to yield max energy from the panels. Good info on them on Youtube.