Tolerances on Simulink Blocks

7 visualizaciones (últimos 30 días)
Steven
Steven el 16 de Jun. de 2011
I want to be able to specify exact tolerances on Simulink Blocks. I want to be able to specify more than just the min/max. I need to be able to say for a specific block to be accurate to "x" bits and/or be accurate to a certain %. I am using the simulink Fixed point toolbox as well, but in that you can only specify a tolerance in % and for the entire design. I have been looking all throughout and cant find a nice way to do this. Any help will be much appreciated.

Respuesta aceptada

Brenda
Brenda el 17 de Jun. de 2011
Currently, Simulink does not provide such capabilities to support tolerance specifications.
Using Data Type Assistant and Fixed-Point Details panel could help you. By selecting different fraction lengths, you can check in the "Fixed-Point Details" to see if the "Precision" is acceptable.
Could you please describe your need why such specification is more convenient for you than the existing methods?
Thanks.
  1 comentario
Steven
Steven el 17 de Jun. de 2011
For my current project I have for each block a specific range (which is fine to implement) and for most I have a specific tolerance that the block has to meet. I also have another tolerance for the entire system. So the option in the fixed point tool to specify a tolerance for the entire design is nice. However, I would like to have that feature for every single block. I also have to specify tolerances for inputs as well which I haven't been able to find in Simulink either.
This project has very clearly defined specifications and everything needs to be as specified. This project is also on a large scale, lets say 300 + simulink blocks, so to manually go through and write a script for every block to ensure it is within that blocks specific requirements is not feasible.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dependency Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by