How can i send matlab functions by Mail
Show older comments
Hei . I made some Matlab functions in a folder in my computer and i should be sendt to my teacher , but i do not know how i can send all functions in a file?
Answers (2)
Steven Lord
on 30 Apr 2017
0 votes
The easiest approach is probably to use the zip function to create a ZIP-file containing your function files, then attach the ZIP-file to an email using your email client or using the sendmail function.
3 Comments
Sara Jam
on 1 May 2017
Steven Lord
on 1 May 2017
I'm not sure what you mean when you say "I do not know about the zip function?" The function to which I refer is part of MATLAB, and has been for over a decade. Do you mean you were unaware of this function? Do you mean that you're unsure if it meets your needs?
Walter Roberson
on 1 May 2017
You can also use the MS Windows File Explorer, or the Mac Finder to zip a directory, by finding the directory and right-clicking and choosing the appropriate option.
Walter Roberson
on 1 May 2017
0 votes
In newer versions of MATLAB you can also use "Package Application" to create a .mlappinstall file which can be emailed around; however this can only work if the entry point is a function, not a script.
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!