can we run a matlab file without saving it?

23 visualizaciones (últimos 30 días)
Saurav Karanwal
Saurav Karanwal el 25 de Oct. de 2016
Respondida: Kumar el 29 de En. de 2023
this question will help you to know about saving a matlab file.
  1 comentario
KSSV
KSSV el 25 de Oct. de 2016
Yes you can....but when you run it is automatically saved...

Iniciar sesión para comentar.

Respuesta aceptada

Shubham Maurya
Shubham Maurya el 25 de Oct. de 2016
Actually by default, the Matlab asks for saving the file or script with a name followed by .m extension. So, I don't think its possible to run the file without saving it.

Más respuestas (3)

Raúl GB
Raúl GB el 25 de Oct. de 2016
You can evaluate the current section (ctr+enter) or the current selection (F9), it will run the script or part of the script without saving it. Please note that you cannot evaluate a function unless you specify an input for it.

Image Analyst
Image Analyst el 25 de Oct. de 2016
Type control-a (to select everything), then type F9.

Kumar
Kumar el 29 de En. de 2023
Yes, you can run a MATLAB file without saving it through the "Run Section"

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by