Different output for a program on different laptop

7 次查看(过去 30 天)
Hello all, I am using MATLAB R2021b in different Laptops( HP Notebook PC with windows 10 and Lenova idea pad with windows 11). When I am running a program getting different result. Is matlab ouput depends on OS and Laptop version?
Thank you.

回答(1 个)

Sachin
Sachin 2023-2-15
Hi Shiva,
MATLAB performances are same in Windows, MAC, Linux , although differences can occur among platform for the following reason.
  1. MathWorks builds its products with a different compiler on each platform, and each has its own performance characteristics
2. The operating systems perform differently, especially in the case of disk- or graphics-intensive operations.
The different operating systems have Basic Linear Algebra Subprograms ( BLAS ) and Linear Algebra PACKage (LAPACK) compiled differently, and on MS Windows you may be using Intel's MLK. MS Windows is known for having a different version of MLK for different CPU architectures (AMD vs Intel for example, but even different families within a manufacturer.)
For this reason, you should not expect that the bottommost bits of a calculation will be the same on different systems.
For more information you can refer the following pages –
Regards
Sachin

Community Treasure Hunt

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

Start Hunting!

Translated by