matlab/simulink difference

1 次查看(过去 30 天)
Cosmin Darab
Cosmin Darab 2011-10-6
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 个评论
Kaustubha Govind
Kaustubha Govind 2011-10-6
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by