
Cannot get simout from Simulink Model
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm trying to model how a solar sail could make a small spacecraft reach escape velocity from LEO, and so far I have a model of the earth, sun, and the spacecraft. I want to be able to plot the paths of all of these though, and was following a matlab tutorial similar to mine, but when I run my code it says error not enough inputs, and that simout doesn't exist.
0 comentarios
Respuestas (1)
Steve Miller
el 25 de Nov. de 2022
Your model produces variable "out" instead of "simout". You can see this in the Configuration Panel.

If you enter this command and make a few other changes to the model and code, you will get a plot.
>> showTrajMasters(out,Earth,SpaceCraft)
I think the code needs further debugging, though. I have attached the code with the few adjustments I made.
--Steve
0 comentarios
Ver también
Categorías
Más información sobre Applications en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!