Save simulink model blocks

5 次查看(过去 30 天)
mahmoud elmesery
mahmoud elmesery 2021-3-30
回答: Samar 2025-6-13
Hello i am new to matlab simulink,Now i have a model that contains solid blocks and rigid transform blocks i want to save the output views from multiple point of veiws as pdf or dxf formate in exact scale also i want to remove the time line cause a do not perform and actions that depends on time i am just forming a frame or steel truss,thanks in advance.

回答(1 个)

Samar
Samar 2025-6-13
Follow the listed steps to capture scaled, timeindependent views of your truss in Simulink/Simscape Multibody and export them as PDF or DXF:
1. Use Simscape Multibody + Simscape 3D Animation
Import or build your solids + rigid transforms into a Simscape Multibody model. Then use the Mechanics Explorer or 3D Animation scope to view your structure from any angle.
  • These viewers render static visuals (no timeline), so no timestep is needed—perfect for static frames.
2. Export 2D views as vector formats
Here is the practical workflow to export DXF/PDF via CAD:
  1. Export the geometry (e.g., as STEP or STL) from Simscape or CAD.
  2. Open in a CAD tool (like FreeCAD, SolidWorks).
  3. Set the exact view, then export to DXF or save as PDF ensuring scale and dimensions are preserved. It is documented here:
The discussion given below explores various ways to export PDF files from Simulink. Refer them for more info:
Things to note:
  • Ensure your Simscape solids have correct physical units, so exported geometry matches.
  • For exact scale, confirm your CAD export/import uses the same unit system.
With this pipeline, you’ll get precise, scale-accurate PDFs or DXFs of your truss from multiple static viewpoints—no simulation timeline required!
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Assembly 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by