MATLAB에서 고정소수점 객체 만들기
고정소수점 데이터 생성을 위한
fi 및 numerictypeFixed-Point Designer™ fi 객체를 사용하여 고정소수점 데이터를 생성할 수 있습니다. fi 생성자 내에서 numerictype 속성과 fimath 속성을 지정할 수 있습니다. fi 객체마다 연관된 numerictype 객체가 있습니다. numerictype 객체는 워드 길이, 소수부 길이, 부호의 유무 등 fi 객체에 대한 정보를 저장합니다. numerictype 객체는 Simulink®의 fixdt 객체와 동등합니다.
함수
클래스
numerictype | 고정소수점 또는 부동소수점 데이터형을 나타내는 embedded.numerictype 객체 생성 |
도움말 항목
고정소수점 숫자형 객체 생성
- Create Fixed-Point Data
This example shows the basics of how to use the fixed-point numeric object fi. - View Fixed-Point Data
Control display of fixed-point data properties usingfipref. - Ways to Construct fi Objects
Buildfiobject constructors in the command line or by using a GUI. - Set fi Object Properties
Tells you how to find more information about the properties associated withfiobjects, and shows you how to set these properties. - Fixed-Point Versus Built-in Integer Types
Differences between fixed-point data types and built-in integer data types in MATLAB®.
고정소수점 수학 연산 설정
- fimath Object Construction
Creation offimathobjects. - fimath Object Properties
Properties and property settings associated withfimathobjects. - fimath Properties Usage for Fixed-Point Arithmetic
Fixed-point arithmetic usingfimathobjects to control the results. - fimath for Sharing Arithmetic Rules
Using afimathobject to share modular arithmetic information among multiplefiobjects. - fimath for Rounding and Overflow Modes
Order setting for overflow action and rounding method. - fimath ProductMode and SumMode
Differences among the different settings of theProductModeandSumModeproperties. - How Functions Use fimath
Functions that ignore or discardfimath.
고정소수점 기본 설정
- Set fi Object Display Preferences Using fipref
Examples of usingfiprefobjects to set display preferences forfiobjects. - Data Type Override Preferences Using fipref
Data type override using thefiprefobject. - Underflow and Overflow Logging Using fipref
Examples of usingfiprefobjects to set logging preferences forfiobjects.
숫자형 정보
- numerictype Object Construction
Construction ofnumerictypeobjects. - numerictype Object Properties
Properties and property settings associated withnumerictypeobjects. - numerictype of Fixed-Point Objects
Fields and settings for thenumerictypeobject. - numerictype Objects Usage to Share Data Type and Scaling Settings of fi objects
Example of using anumerictypeobject to share modular data type and scaling information among multiplefiobjects.
응용 사례
- Fixed-Point Design Exploration in Parallel
This example shows how to explore and test fixed-point designs by distributing tests across many computers in parallel. - Real-Time Image Acquisition, Image Processing, and Fixed-Point Blob Analysis for Target Practice Analysis
This example shows how to acquire real-time images from a GigE Vision® camera or webcam, process the images using fixed-point blob analysis, and determine world coordinates to score a laser pistol target.
문제 해결
Resolve Error: Mismatched fimath
Troubleshoot mismatched fimath errors.
Resolve Error: Data Type Mismatch
Troubleshoot data type mismatch errors.
Troubleshoot fi*non-fi errors.
fi Constructor Does Not Follow globalfimath Rules
Troubleshoot getting the fi constructor to follow
globalfimath rules.

