Code Directory
 Visual Basic & VB.NET
New Code
C# QR Code Generator
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
PHP Real Estate Script 1.3.2
IP2Location Geolocation Database April.2019
dbForge Data Generator for Oracle 2.1
VisualNEO Web 2018.12.15
SentiMask SDK Trial 1.0.0
OrgChart JS 4.6.4
dotConnect for BigCommerce 1.8
FedEx Smart Shipping For Magento 1.0.0
Database Workbench Pro
Top Code
Job Board Software 4.2
AppControls 3.7.4
PileCard 1.0
ManageEngine ADAudit Plus 4.0
2D / 3D CAD Import .NET: DWG, DXF, PLT 8.0
Joyfax Broadcast 8.30.0225
ANSMTP SMTP email component 7.0
Polar SpellChecker Component 5.0
DBQwikEdit Pro 2.4
Javascript Code Improver 1.00
HTMLPad 2007 Pro 8.3
Oracle to MySQL database converter
JavaScript Spell Check 2.4
VISCOM Video Capture FLV MP4 SDK ActiveX 3.25
microOLAP Technologies LLC 1.9.6
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
API for User Written Fixed-Point SFunctions 1.0
File ID: 81313

API for User Written Fixed-Point SFunctions 1.0
Download API for User Written Fixed-Point SFunctions 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 307.2 KB
Downloads: 4
Submit Rating:
API for User Written Fixed-Point SFunctions 1.0 Description
Description: API for User Written Fixed-Point and Floating-Point S-Functions.
A supplement to Release 13 of Simulink and Fixed-Point Blockset.

Version 0.9.0 Beta 1
January 8, 2003

Feedback on this beta should be sent to
Andy Bartlett
The MathWorks, Inc.
3 Apple Hill
Natick, MA 01760

This zip file contains the files users need to write Simulink C S-Functions
that directly handle fixed-point data types. The API is compatible with
Release 13 and beyond. These file should be expanded into a user selected
directory. This directory does NOT need to be under MATLABROOT.

All the files are covered by:
Copyright (c) 1984-2003 The MathWorks, Inc.
All Rights Reserved.

This supplement is compatible with Release 13 and later.

MATLAB Version 6.5 (R13)
Simulink Version 5.0 (R13)
Fixed-Point Blockset Version 4.0 (R13)

In Release 14, this API will be formally included in Simulink. It is expected,
but not guaranteed, that if a Fixed-Point S-Functions is compiled in Release 13
using this supplement, then the DLL, aka share object, will work without
modification in Release 14. If the S-Function is recompiled in Release 14,
then care should be taken to recompile using the latest API files and not the
API files included in this zip. When recompiling, it should NOT be necessary
to modify the S-Functions source code; the API will be backwards compatibile.

The API for use in Simulink is described in the main header file.


The API for use in the TLC phase of Real-Time Workshop Code Generation is
described also.


The method of compiling user written fixed-point s-functions is described in.


The C source files for several examples are given.


The corresponding TLC files are also given.


Models that demostrate the example sfunctions are supplied.


For Windows and Linux only, the executables are included in
this zip file. For other platforms, users must mex
the files themselves using mex_sfun_user_fxp_examples.m.


A private file necessary for compiling the sfunctions is also
given. No direct use of the contents of this file should be
made. Direct use of the contents will create sfunctions
that are not forward compatible with future Simulink Releases.


License: Shareware

Related: tlc cfix publishedtlc, method, Generation, Workshop, Realtime, Compiling, written, Examples, mex sfun user fxp examplesm

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 307.2 KB

Downloads: 4

More Similar Code

LongDecimal provides a numeric type for fixed point arithmetic, similar to (but with more features) Java's BigDecimal, but different from Ruby's BigDecimal. Such a numeric type allows controlling how rounding is performed, for example for finance apps.

An XML API for Ruby written in C, using only Ruby native data types internally. Parses/generates XML, automatically pretty printing and en-/de- coding characters. Transmutates XML attributes to/from objects. Find node paths via strings or regex...

This simulation illustrates the effects of the fixed-point
computations on the closed-loop precision for a 16-bits PID controller.
The rounding mode, the point where the truncations take place and the
format width for the internal...

An essential step in embedded software development, floating- to fixed-point conversion can be tedious, labor-intensive, and error-prone. System engineers frequently design algorithms in floating-point math, usually double-precision. This format...

A fixed point math header-library for C, under a liberal license.

The effect of fixed-point arithmetic in 16-bits PID controller C routines
on the closed-loop precision is shown in this Simulink model.

Two Simulink blocks that implement single and double
precision 16-bits PID C routines are...

There are challenges to face when programming in fixed-point code manually. Similarly, care is required in automatically generating fixed-point code. The developer must pay attention to design tradeoffs, namely: accuracy, efficiency, ROM, RAM,...

There are challenges to face when programming in fixed-point code manually. Similarly, care is required in automatically generating fixed-point code. The developer must pay attention to design tradeoffs, namely: accuracy, efficiency, ROM, RAM,...

Here i share my experiences working with fixed point modelling of real time embedded control systems as well as porting the same to ECU. A brief picture of background of fixed point coding and modelling is also given. This document will serve as a...

The Fixed Point Method is applied to a given function.

Convergence conditions are as followed:
f(xa)=0 (=) xa=g(xa) => xa[n+1]=g(xn), n=0,1,..
Error majoration:
|e(xk)| <= L^k/(1-L)*|x1-xo|
Choice for inicial...

User Review for API for User Written Fixed-Point SFunctions
- required fields

Please enter text on the image