Model simulation don't run and disappears when I change camera angle

2 views (last 30 days)
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!

Accepted Answer

Jack
Jack on 3 Apr 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:
  1. 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.
  2. 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.
  3. 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.
  3 Comments
Jack
Jack on 3 Apr 2023
That's a good approach to troubleshooting the issue. Here are some steps you can take to further diagnose the problem:
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Aerospace Applications in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!