How to modify the pid gains for position control in px4

Hi all, I’ve performed the position control of the quadcopter by using vicon and matlab simulink with the ardupilot firmware. I wanted to perform that with px4 firmware, so I changed the firmware to px4, and I performed position control, but it’s not working. So I want to get the information of modification pid gains from ardupilot to px4(It’s not Interner PID Gains, but PID Gains in simulink blocks.)

Hi, I’m also working on simulating position control in Simulink but I have some problems also so if you solved your problems can we contact to ask you about what is facing me?