Reading Arduino serial data in Octave on Mac
You most likely need the full canonical pathname for the port:

/dev/cu.usbmodem1421


On the Mac, as in Linux and other Unix derivatives, most devices, serial ports included, are special files in the /dev directory.