Hi I would like to export the pokemon sword saves that I have in the game cartridge with a 2 account on a PC you can use PKHeX but having the change I want to take the data to save the sd and not the cartridge how can I solve?

Save data is stored on the console not the cartridge.Hi I would like to export the pokemon sword saves that I have in the game cartridge with a 2 account on a PC you can use PKHeX but having the change I want to take the data to save the sd and not the cartridge how can I solve?
Regardless of the number of profiles you have, game saves are stored within the Switch itself.And how do I get the save I have with the 2 profile?