Units problem during STL file importing

6 views (last 30 days)
Hello,
I have a problem with importing an STL graphics file to the Simulink diagram. I've tried making the model both in UGS NX and SolidWorks but when I import it, the dimensions are multiplied a 1000 times.
I think it's because Simulink's default lenght unit is 'm' but every CAD software writes it in 'mm'. As I look-up into the binary file, there's no real information about the units in the STL file so my question is: how do I change the default unit in Matlab or how can I convert the STL file itself to match my requirements.

Accepted Answer

Guy Rouleau
Guy Rouleau on 11 Jan 2012
Is it possible that you are affected by this bug:
If not, please contact technical support with reproduction step.

More Answers (0)

Categories

Find more on Model Import in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!