My PC doesn't recognize my galaxy note 4. But it did when I purchased it.
2 options , both worked for Me when i had the Same issue:

If u use your fingerprintscanner , make sure you unlock your Phone After plugging it in

Second is to try Samsungs Software Kies and follow the programs instructions