Formula retrieval in .m files
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Adriano Moro
el 14 de Oct. de 2019
Comentada: Adriano Moro
el 15 de Oct. de 2019
Dear all users,
I have a problem with a file retrieval: the formula works, but it does not show up. First, I declare two 3x3 matrix, A and B. Second, I sum them up with C=A+B; I get the answer, then I save all in a .m file. When I open the file again, I just see the matrices but the string "C=A+B" has vanished. How can I save a file with both the results and the instructions? I run Matlab R2019b with student license on a Ubuntu 19.04 distribution, I am a total Matlab beginner. Regards.
0 comentarios
Respuesta aceptada
Walter Roberson
el 14 de Oct. de 2019
You may wish to use Live Scripts instead of .m files. .m files never store output.
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown 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!