How can I ready a m file form a exe program?

1 vue (au cours des 30 derniers jours)
Lucsa Kort
Lucsa Kort le 21 Nov 2019
Commenté : Lucsa Kort le 25 Nov 2019
I'm writing a program that solve some functions and I'd like to share it as a executable exe file, but the function to be solved need to be created by the user in a .m file. So can I create and read the function file (.m) externally and then read it from the exe program?

Réponses (1)

Erivelton Gualter
Erivelton Gualter le 21 Nov 2019
  1 commentaire
Lucsa Kort
Lucsa Kort le 25 Nov 2019
I tried Govind's method, but still can't read a .m file that is not grouped into the standalone exe app.not found.png
Where UFF is the .m file
When I try to add the path, I get this.
add path not supported.png

Connectez-vous pour commenter.

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by