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?

Answers (1)

1 Comment

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

Sign in to comment.

Categories

Find more on Files and Folders in Help Center and File Exchange

Tags

Asked:

on 21 Nov 2019

Commented:

on 25 Nov 2019

Community Treasure Hunt

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

Start Hunting!