As beaming UCLA graduates clutched red roses and wore magenta orchid leis, Randy Schekman, the UCLA alumnus who received the 2013 Nobel Prize in physiology or medicine, reminded them that a public university is the most effective engine of social mobility.

“The University of California has provided generations of middle and working class families with an opportunity to build a better life,” said Schekman, who earned his bachelor's degree in 1971 from UCLA. “The elite and private universities consider their middle class to be families with an income of as much as $180,000 to $200,000 year.”

Schekman, the son of middle class parents who encouraged him to go to college but had limited means to pay for it, said most students in the U.S. attend public institutions where family income is much closer to the national average. “The real world comes to UCLA," he said.

The UC Berkeley professor of molecular and cell biology was the keynote speaker at the UCLA College’s two commencement ceremonies Friday. Each ceremony draws more than 10,000 graduates, family members, and friends to Pauley Pavilion.

The first ceremony, held at 2 p.m., also drew a surprise guest: Kareem Abdul-Jabbar, the UCLA alumnus and basketball legend who remains the all-time leading scorer in NBA history.

When Abdul-Jabbar entered Pauley with university officials, including Chancellor Gene Block and the deans of the College’s divisions, students cheered and snapped photos as he walked by. Along with Block, Abdul-Jabbar presented Schekman with the UCLA Medal, the university's highest honor, for his “life-changing breakthroughs in the field of cell biology” and other contributions.

Like Schekman, Abdul-Jabbar reminded graduates why a UCLA education is so unique and valuable. UCLA, he said, gives students the tools to leave their mark in life, adding that Schekman and he did “OK” in that department.

“As you get older the meaning of leaving your mark changes,” he said. Abdul-Jabbar joked: “It’s not enough to just take home a Nobel Prize, an NCAA championship trophy or even an NBA championship, which by the way it’s … bigger and shinier than the Nobel Prize.”

“Once you’ve accomplished those personal goals, you start to wonder what goals you could accomplish for the rest of the world, how you can live humbly for a noble cause,” he said.

► More Commencement 2014 stories and photos.

Schekman has done this by researching “stuff that most of us can’t understand or pronounce,” and Abdul-Jabbar by writing history books, he said. And he lauded Schekman for doing “something brave and admirable.” Last year, Schekman announced that his lab at UC Berkeley would no longer submit articles to some of the world’s most prestigious science journals, saying that he believes the journals’ closed access policy harms the pursuit of legitimate scientific goals and compromises research.

”Dr. Schekman didn’t have to do this," Abdul-Jabbar said. "He could have stayed in his lab polishing his Nobel Prize, wishing it was an NBA championship trophy. But he didn’t and took on the scientific establishment because he believes there’s a better way."

Just as Schekman has championed more open access to journals, he’s also advocated for the state government to increase financial support for public higher education because of the opportunities provided to people who otherwise wouldn’t have the means to attend college.

He asked graduates who were first-generation college students to stand and receive applause.

“Rich private universities that cater to privilege and pedigree don’t hold a candle to what you have accomplished to reach this milestone,” he said.

Schekman encouraged graduates to work toward making the public university more affordable for working and middle class families. “Our great public universities continue to educate the majority of our nation’s future scholars, scientists and engineers,” he said. “But the nature of that education has regrettably evolved from a public good to a private commodity funded to an alarming extent by burdensome personal debt.”

He said the University of California receives only 10 percent of its funding from the state, compared to the 80 percent it received when Schekman was a student in the late 1960s and early 1970s. (Schekman noted that he was a student at the same time Abdul-Jabbar led UCLA’s basketball team to three straight national college basketball championships, and spent the night outside Pauley to get season tickets that were $6.25 during one of those years.)

“We owe it to our families, to our younger brothers and sisters, to our children and grandchildren to reverse this trend so that members of future generations will have access to the same outstanding UC education that you and I have enjoyed,” he said.