Can you put matab code in an app for users to edit?

1 view (last 30 days)
So I currently working on a project to teach people how to use matlab. I wanted to have an app where they could code certain parts so it will affect the other app that I made. To better explain, let's say the original height of the drone is 8. I would like the user to code in the app to change the height of the drone to whatever they want. Can I put a MATLAB editor in the app? Does that make sense?

Answers (1)

Walter Roberson
Walter Roberson on 28 Oct 2020
Yes, provided that the app is not being compiled (so the users need a matlab license to execute it.)
For all of the possibilities that do not require that the user have a license, it is either a technical limitation or a license limitation that the users are not permitted to change the matlab code.
It is permitted for you to write a "small language" to be interpreted by compiled matlab, that the user can change the code of in order to alter how the program reacts. However the more flexible you make that small language, the more likely you would be to violating the license.
  1 Comment
Nicholas Carreon
Nicholas Carreon on 28 Oct 2020
Edited: Nicholas Carreon on 28 Oct 2020
What if they all have access to matlab already? Would it still violate the license? I would assume not?
Then how would I implement a technical limitation? Thank you!

Sign in to comment.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!