필터 지우기
필터 지우기

Tolerances on Simulink Blocks

조회 수: 6 (최근 30일)
Steven
Steven 2011년 6월 16일
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.

채택된 답변

Brenda
Brenda 2011년 6월 17일
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
Steven
Steven 2011년 6월 17일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Large-Scale Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by