Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

To File Block: How to set the number of decimal places

0 votes

I use a To File Block in my simulation to export data. But there are 15 digits after the point. I don't need this high accuracy.

How do I set the number of decimal places? In general I don't need such precise calculations. Is it possible to diminish the precision to improve the simulation speed?


King Regards
asked Jan 16, 2023 by utuber27 (22 points)

1 Answer

0 votes
There is not a setting to adjust the number of decimal places in the output.  PLECS uses double precision floating point numbers which determines the decimal precision of the output.
answered Jan 17, 2023 by Bryan Lieblick (1,995 points)