You can open x3d files with MATLAB - 3D World Editor in MATLAB Apps.
But I guess you need to have that Simulink Toolbox:
x3d files contain objects, I dont think those functions can be used with objects.
You can edit x3d files with x3d-edit:
https://www.web3d.org/x3d/content/README.X3D-Edit.html