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

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?

Antworten (1)

Erivelton Gualter
Erivelton Gualter am 21 Nov. 2019

0 Stimmen

1 Kommentar

Lucsa Kort
Lucsa Kort am 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 21 Nov. 2019

Kommentiert:

am 25 Nov. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by