- Check the graphics settings: Make sure that the graphics settings are set to the appropriate level for the simulation you're running. If the settings are too high, it could cause the simulation to slow down or freeze. You could also try reducing the graphics settings and see if that helps.
- Check for driver updates: Make sure that the graphics drivers on your computer are up-to-date. Outdated drivers can cause graphics issues, so updating them may help.
- Try running the simulation on another computer: If the problem persists, try running the simulation on another computer to see if the same issue occurs. This can help determine if the issue is related to the simulation or the computer itself.
Model simulation don't run and disappears when I change camera angle
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Pham Chung
el 3 de Abr. de 2023
Comentada: Pham Chung
el 4 de Abr. de 2023
I'm running a simulation on 2019a version. Here are some details about the problem:
- Simulation compiled successfully without error or warning
- When the simulation runs: I can only view it in Front View and Back View, but the model doesn't seem to move. If I change camera angle, the model will disappear until I change it back to the 2 said view modes.
- When it's paused, I can view the model freely
I will try to run it on another computer to see if the same problem occurs.
In the meantime, if anyone knows what's wrong, please let me know. Thank you in advance!
0 comentarios
Respuesta aceptada
Jack
el 3 de Abr. de 2023
Based on the details you provided, it seems like a potential issue with the graphics hardware or software on the computer you're running the simulation on. Here are a few things you could try:
3 comentarios
Jack
el 3 de Abr. de 2023
That's a good approach to troubleshooting the issue. Here are some steps you can take to further diagnose the problem:
- Check if there are any differences in the model settings or configurations between the working .slx files and your problematic one. For example, check the solver settings, model parameters, and block parameters.
- Check if there are any missing or outdated toolboxes or dependencies required for your model. You can try running the MATLAB command ver to see the list of installed toolboxes and their versions.
- Check if there are any conflicting or incompatible MATLAB versions or installations. You can try running the MATLAB command matlabroot to see the root directory of the MATLAB installation and check if it matches with your expected version.
- Check if there are any hardware or driver issues with your computer that may affect the simulation performance. You can try running hardware diagnostics or updating your device drivers.
- If none of the above steps work, you can try isolating the problem by removing certain blocks or subsystems from your model and running the simulation again. This can help you identify which part of the model is causing the issue.
Hopefully, one of these steps can help you identify and fix the issue.
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating Custom Components and Libraries 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!