matlab/simulink difference

Hy, is there any way i can make a matlab embedded function from simulink to use the same number of digits as matlab? I use the same operations in matlab as in simulink but due to the fact that simulink works with smaller number of digits the results are not the same thank you

1 Kommentar

Kaustubha Govind
Kaustubha Govind am 6 Okt. 2011
The default datatype in both MATLAB and Simulink is double, so they use the same precision. Please provide examples of what you mean by different results.
Also, I see that you seem to have been creating multiple questions for what essentially remains your question about "roots" giving different results in MATLAB vs. Simulink. Please try and maintain a single thread of discussion.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 6 Okt. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by