How to add a meaningful link in plugin admin panel?

Short: You can’t. Php functions can’t be run “straight” from a button because they run server side. You need either to set a $_POST or $_GET (so you can run the function on the page load) or use ajax/javascript.

You can find multiple answers to this question on the site already. For example this. edit: button/link, doesn’t matter.