I would suggest you migrate from the MATLAB product to a free software environment, such as "R" (which is similar to MATLAB) or Python (which is a language that, in the last years, has been a main focus for de development of mathematical methods in general). It will make your life much easier. There are OpenSource Rough Set libraries for both:
(this one here is based upon an implementation originally done in MATLAB - see link below) https://github.com/paudan/scikit-roughsets
If you really want to do it in MATLAB, there's a book with the description of an implementation (I did not test it): https://books.google.lt/books?id=V4vulPEc29kC (From the site: This textbook presents a variety of applied mathematics topics in science and engineering with an emphasis on problem solving techniques using MATLAB®. The authors provide a general overview of the MATLAB language and its graphics abilities before delving into problem solving, making the book useful for readers without prior MATLAB experience. They explain how to generate code suitable for various applications so that readers can apply the techniques to problems not covered in the book. Examples, figures, and MATLAB scripts enable readers with basic mathematics knowledge to solve various applied math problems in their fields while avoiding unnecessary technical details. )