Ask Your Question

Revision history [back]

I believe this is not possible. Sage can accept pure MatLab code, or code from a number of other systems, but only when it's acting as a console for those systems -- see the interfaces section of the manual -- the purpose of Sage interfaces is rather the opposite of what you're looking for: interfaces allow you to use Sage syntax to run other programs. And it works by calling those programs from Sage, so you have to install them and use them. As I understand it, this is useful really only for those who want to use several different programs side-by-side. If you will be using only a single program, it makes more sense to interact with it directly if you can.

If the course has a small number of people in it and your instructor is willing to be flexible, you might try pointing out that public servers like would allow them to evaluate the functionality of Sage code without having to go through the (easy) process of installing Sage. But if homework grading is going to be automated, your instructor probably isn't willing to go through the trouble of adding support for Sage. And you're both going to be unhappy if, midway through the term, you find that Sage doesn't have support for some topics in the course.

Whatever ends up happening, bear in mind that you will have more opportunities to use open source software in the future, even if you don't have that choice as a student.