Matlab Livescript In-Line Outputs all Displaying at the End of the File

8 visualizaciones (últimos 30 días)
I'm working on a simple problem and find it easier to plug my stuff into matlab, but suddenly when I'm in the livescript editor and have it set to inline outputs, all the outputs are moving to the end of the file. Is this operator error, and if so how can I fix it? I've tried reloading the file and opening it in a different livescript window. Here is the PDF output of my file. I'm running Matlab R2018b on a Windows 10 computer. It was not doing this before today.

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 9 de Feb. de 2019
Editada: Cris LaPierre el 9 de Feb. de 2019
You need to include a space between the symbolic variable and the "..."
syms theta ... %angle of tilt off from the horizontal
x ... %the x value, with the bottom center of the spherical base being x=0
y ... %the y value, with the bottom of the sphere being 0
R ... %the radius of the half sphere
r ... %the radius of the circular base of the glass plate
h %the heigh of the cylindrical glass plate
What also worked was adding a section break after "h".

Más respuestas (0)

Categorías

Más información sobre Function Creation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by