MIAMI — Amar’e Stoudemire, reflecting on his five-year Knicks career, said he wished his past coaches had used him and Carmelo Anthony more strategically, believing they could have blossomed.

Of course, his chronic knee issues were part of the reason the Stoudemire-Anthony connection did not lead to great things.

Stoudemire, now a member of the Heat who missed Monday’s game against the Knicks with the flu, also weighed in on last season’s disgrace, saying not enough players bought into the triangle system.

But before that, Stoudemire said he and Anthony wanted to run more pick-and-rolls in the two-man game but couldn’t get the coaches on board, probably referring to Mike D’Antoni and Mike Woodson.

“I don’t think we had enough opportunities to play together,’’ Stoudemire said in the Heat locker room Monday. “I moved to the bench and [became the] sixth, seventh man. When I was in the game, Melo, he was out of the game and vice versa. When we did play together, we showed some flashes of what we could do on the pick-and-roll.

“I don’t think that pick-and-roll offense between Melo and I was ever taken advantage of, which we could have. The way he shoots the ball, handles the ball from the outside and the way I attack the rim, it could’ve been a pretty good combination. I don’t think the coaching staff at the time really bought into that.’’

The Stoudemire-Anthony pairing never got past the second round of the playoffs in four springs together.

“At times we could’ve taken advantage of our opportunity a lot more,’’ said Stoudemire, who missed 110 games in his time with the Knicks. “It wasn’t up to Melo and I. It was up to the coaching staff to figure that part out. We could never get the right system to figure that part out.’’

Nor did his teammates last season buy into the new offense as the Knicks plummeted to a 5-32 record before Phil Jackson blew up the roster Jan. 5. Stoudemire survived until the All-Star break in late February, when he negotiated a buyout to sign with Dallas.

Stoudemire loves what he sees from this Knicks’ squad because they look like they are accepting their offensive roles and he praised rookie sensation Kristaps Porzingis.

“Absolutely, no question about that,’’ Stoudemire said when asked if last season’s players did not buy into the system. “We had great talent. We had players who were athletic, physical, defensive-minded, offensive-minded. A well-rounded team that year. But it took more time than I was willing to accept to buy into the system. When you become a good team, you have a new system in place everyone has to buy in. Once that happens, the game becomes more fluid and a beautiful game.’’

Stoudemire has played in just two games this season, as Miami coach Erik Spoelstra is using a tight big-man rotation. The usually cocky Stoudemire sounded as if his days could be numbered and stayed clear of making any bold proclamations about becoming a big on-court factor this season.

“I had a pretty strong 14-year career so far,’’ Stoudemire said. “Right now I’m taking it one day at a time, one season at a time. I don’t know how much time left I have as a player. I’m just cherishing the moment and try to develop the young guys.’’

Stoudemire is taking classes in contract negotiations and sports business, perhaps as a precursor to becoming an agent.

“There’s no telling how much time I left in this league,’’ said Stoudemire, who added it was “a long shot but you never know’’ to continue his career next season in Israel, where he has ownership in Hapoel Jerusalem.

The former $100 million Knick who signed with the Heat for the veteran’s minimum of $1.4M likes what he sees from Porzingis.

“I’ve been watching him,’’ Stoudemire said. “Been watching the entire team actually. I think there’s more a sense of urgency with guys this year. They’re finally buying into the actual system now. Porzingis is doing a great job of being himself. You can tell he’s not pressured to being a certain type of player, playing his style of basketball. It always takes him time to become yourself in this league but he did a great job establishing that early.’’

He seemed very proud of his role playing himself in the hit movie “Trainwreck’’ with Long Island’s Amy Schumer, with whom he has become friends.

“They’re killing me man,’’ Stoudemire said of his teammates. “I get jokes all the time about ‘Trainwreck.’ Amy’s career grew and bloomed from there. It’s good to see her doing her thing.’’

Stoudemire, who had a home in Miami for six years, still has a place in Manhattan and owns a cattle farm in Dutchess County. It woudn’t be a Stoudemire interview if he didn’t throw in one hyperbole.

“Those were the days,’’ Stoudemire said of his Knicks stint, adding Cablevision “stock went up 30 percent’’ when he signed with the Knicks. “The city of New York, the state of New York was revitalized.’’