Is it possible to display data in Simscape Multibody Mechanics Explorer?

I am running multiple simulations using Simscape Multibody and viewing it in Mechanics Explorer.
Each simulation can take over an hour so I run in batches multiple runs where at the end of each run I save a video of each run using the mechanics explorer video capture function. So I'll let it run overnight or longer and come back to view the results. I also save data files that give more information about the various states.
I would like to be able to add some basic information to the Mechanics Explorer display, really just a text box placed in mechanics explorer where a few values are updated, and that text box would get captured, along with the Mechanics Explorer display by the video capture function.
Is there a way to do this in Mechanics explorer?

 Akzeptierte Antwort

Steve Miller
Steve Miller am 1 Apr. 2022
Hi John,
You can only display geometrical elements in the Mechanics Explorer. If you could draw the letters using general extrusions (using font data), then you could display whatever you want.
This is an animation of a numeric display done using numbers exported from CAD. If you think this would be useful, we could polish it up and make it available.
--Steve

3 Kommentare

Hi Steve,
Yes, for my purposes I think this would be very useful.
So is this made by hiding/unhiding (as approrpiate) grey extruded numerals in a black brick solid? If so, seems like a really down and dirty way would be to create a 7-segment display using smaller blocks for each segment. But this is much cooler than that. Or if you really wanted to get crazy, create a dot matrix display!
Even this simple numeric display would be great. The controller in the simulation I'm running uses discrete steps and just to ability to display the current step would allow me to correlate the activity in the simulator with data in a text file I create along with each simulation.
If it would be possible to get a copy of this, even unpolished, I would greatly appreciate it.
Thanks,
John
Steve, thanks for the idea.
I coded up a 4 digit 7-segment display like the old school alarm clocks.
Not pretty but it works!
John - looks gorgeous to me! I remember building one of those in a lab in grad school.
I'll try to get the CAD-based one polished up enough to share.
--Steve

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Juan Alvarez
Juan Alvarez am 12 Jul. 2022
You have waiting list for this component !!! Thanks
Juan Carlos

Kategorien

Mehr zu Simscape Multibody finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by