I am unable to use 3D slicer through leaddbs

Hello, I am trying to view images from leaddbs software through 3D slicer, but I am getting an error that the slicer path is not defined in Matlab. Can you please advise on how to set the path for slicer in leaddbs through Matlab?