How can i send matlab functions by Mail
Afficher commentaires plus anciens
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?
Réponses (2)
Steven Lord
le 30 Avr 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 commentaires
Sara Jam
le 1 Mai 2017
Steven Lord
le 1 Mai 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
le 1 Mai 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
le 1 Mai 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.
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!