Hello Lowell,
Unless you need measurements from the scale with <10ms timing precision, you can plug the scale into the PC and use MATLAB's serialport class to interface with it. If measurements will be taken between trials, that's all you need. If during a trial, you can use soft codes. Additional examples are given here.
The state machine's Module ports are RS-485, and expect behavior event bytes. The scale probably outputs character arrays, so you'd need to have a separate microcontroller read the scale's output, determine any events, and send event bytes to the state machine on a separate UART connection. The Bpod Teensy Shield + Teensy 4.1 should be sufficient for the job (if the scale's UART is 3.3V).
-Josh