Mechanics explorer does not display robot link when copying the simulation to a different computer

조회 수: 4 (최근 30일)
Dear,
I have an issue when sharing a robot simulation using Simscape from my laptop to another computer. I use smimport command to import the CAD model and build the robot simulation model in Simulink. Everything works ok in my laptop but as I copying the entire simulation folder across to another computer, Mechanics Explorer does not display the links of the models. I can still run the simulation but only visualise the coordinates of the links.
I did change the Workspace Data source to the new folder and load the links again but still does not work.
Would you please provide advice for the scenario.
Thank you and kind regards

답변 (1개)

Anurag
Anurag 2023년 12월 21일
Hi Duy,
I understand that you are not able to see the links of the model from “Mechanics Explorer” after copying and importing your robot simulation into a different computer.
Follow the steps below to solve the issue:
  • Check that both computers have the same version of “Simscape Multibody” installed. Incompatibilities between versions can lead to unexpected behaviour.
  • Open the “Simscape Multibody” Configuration Parameters and verify that the "Use code generation paths for parameterized file names" option is set consistently between the two computers.
  • Confirm that the Simscape Multibody license is valid on the new computer. Licensing issues may affect the visualization of components.
  • Make sure that Simscape Multibody libraries are up to date on both computers. Use the "ssc_clean" command to clean up any cached data.
  • Clear temporary simulation files generated by “Simscape Multibody” on the new computer. You can do this by running the following command:
clear all; close all; clc; ssc_clean;
Below are the documentation links for the functions mentioned above:
Hope it helps,
Regards,
Anurag

카테고리

Help CenterFile Exchange에서 Simulation and Analysis에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by