Thanks, gfvalvo and everyone else! At least I'm not crazy...
I couldn't get that exact line to work (probably mostly because I don't know where to define matrix1 or matrix2 in that), and presumably numLEDs is defined in a different line. The Adafruit_NeoPixel.h docs don't mention where they got numLEDs from....but I ended up doing this and get 0 for both matrix1 and matrix2:
uint16_t numLEDs = matrix1.numPixels();
void setup() {
// Start the serial interface
Serial.begin(57600);
Serial.print(numLEDs);
Getting the same value for both is suspicious, so probably my workaround isn't valid. Any thoughts on what I'm doing wrong?
Thanks!