I assume you want to export the surface created which includes the holes as a CAD format file. Similar queries to yours have been answered in the links below where in surf function has been used to plot and export as an STL file.
I hope this answers your question!