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

1 visualización (últimos 30 días)
Nicholas Carreon
Nicholas Carreon el 28 de Oct. de 2020
Editada: Nicholas Carreon el 28 de Oct. de 2020
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?

Respuestas (1)

Walter Roberson
Walter Roberson el 28 de Oct. de 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 comentario
Nicholas Carreon
Nicholas Carreon el 28 de Oct. de 2020
Editada: Nicholas Carreon el 28 de Oct. de 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!

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by