Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I distribute my MATLAB program as open source? [closed]

I know, the general answer will be yes, but here is my situation.

I got a plotting function from one MATLAB's toolbox and modified its m-file to draw what I need. Eventually this function became a part of program I would like to distribute as an open source (or under other license). Can I do this? Well, may be it was not wise to create a function in such a way, but I didn't think about distribution at that time. The function still depends on other functions in this toolbox, so a potential user supposed to have a license for it.

Any thoughts, recommendations?

Have you ever modified MATLAB's m-files directly?

like image 977
yuk Avatar asked Mar 18 '10 14:03

yuk


2 Answers

This issue is sometimes dealt with by you not distributing the code but rather a diff that can be used to turn the copyrighted code into your code.

like image 70
Rex Kerr Avatar answered Sep 19 '22 09:09

Rex Kerr


Based on a brief look: it seems that the Mathworks assert copyright in the code that they publish in m-files in their toolboxes -- it would be very suprising if they didn't. That kind of rules out your making minor modifications to their files and then publishing them at all without explicit permission. It probably also rules out you making major modifications and passing the work off as your own and publishing it.

But this is the sort of area where you might want to get legal advice.

Much better approach is to write your own m-files to use Mathworks code 'as-is', writing wrappers or auxiliary functions if their code doesn't do exactly what you want.

like image 41
High Performance Mark Avatar answered Sep 17 '22 09:09

High Performance Mark