How can i send matlab functions by Mail

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?

Respuestas (2)

Steven Lord
Steven Lord el 30 de Abr. de 2017

0 votos

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 comentarios

Sara Jam
Sara Jam el 1 de Mayo de 2017
I can create a Zip file, but i do not know about the zip function?
Steven Lord
Steven Lord el 1 de Mayo de 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
Walter Roberson el 1 de Mayo de 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.

Iniciar sesión para comentar.

Walter Roberson
Walter Roberson el 1 de Mayo de 2017

0 votos

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.

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 30 de Abr. de 2017

Comentada:

el 1 de Mayo de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by