How to show the output on the right side of the coding pane?
Mostrar comentarios más antiguos
Please help to show the result on the right side as bottom image.


Respuesta aceptada
Más respuestas (1)
Animesh
el 21 de Jun. de 2024
1 voto
Hi Asuka,
The image first image you attached is a plain MATLAB script (.M file), which is supposed to contain multiple sequential lines of MATLAB commands and function calls. And the the second image attached is a MATLAB live script (.MLX file).
In case, you would want to show the result on the right side as shown in the second image, consider using .MLX file for your code. With live scipts you can even choose to display the results in other different orientations.
For more information on live scripts in MATLAB, consider going throught the following link:
I hope this helps!
Animesh
Categorías
Más información sobre Scripts en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!