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

1 vue (au cours des 30 derniers jours)
Nicholas Carreon
Nicholas Carreon le 28 Oct 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?

Réponses (1)

Walter Roberson
Walter Roberson le 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 commentaire
Nicholas Carreon
Nicholas Carreon le 28 Oct 2020
Modifié(e) : Nicholas Carreon le 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!

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by