image thumbnail

updated 1 month ago

Model-Based Design for Electrical Automobile Chassis Control by Hitoshi Takeshita

You will be able to understand MBD process with Lego R/C car. (simulation, control design, automotive)

addExtIfNeeded(name)

convertLocalizedPropName(defInfo, val, prefix)

convertLocalizedSheetName(defInfo, val)

image thumbnail

updated 4 months ago

fft_split.m Split the FFT of two real sequences by Patrick Fleischmann

splits the FFT of a sequence x=x1+i*x2 into the FFTs of the real input sequences x1,x2 (signal processing, fft, embedded code)

fft_split(X)

fft_split_tb.m

image thumbnail

updated 5 months ago

Testing of Safety Critical Control Systems by Yogananda Jeppu

This is a presentation on testing of safety critical control systems. (aerospace, automotive, control design)

image thumbnail

updated 6 months ago

Embedded Coder Support Package for Texas Instruments C2000 Processors by MathWorks Embedded Coder Team

Embedded Coder Support Package installer file that works with Support package installer (aerospace, automotive, communications)

image thumbnail

updated 7 months ago

Autopilot Demo for ARP4754A, DO-178C and DO-331 by Bill Potter

Demonstration of how to use MathWorks products in a workflow for ARP-4754A, DO-178C nad DO-331 (aerospace, simulation, simulink)

Autopilot_bus()

rmi_group_info=get_sb_rmi_group_info(block,group)

Roll_AP_PlotData.m

image thumbnail

updated 7 months ago

DSP System Toolbox Support Package for ARM Cortex-M Processors by MathWorks DSP System Toolbox Team

Support package install file that works with the ARM Cortex-M CMSIS Library (arm, microcontroller, embedded programming)

image thumbnail

updated 1 year ago

D-Q axis current by naveen

I am applying a FOC control for an asynchronous Induction Motor. (simulink, embedded code)

Alpha2_DQ

image thumbnail

updated 1 year ago

solving Diophantine equation by davood shaghaghi

This function is written to solve Diopantine equation.this equation should be in the form of C = A*F (control design, optimization, simulation)

dioph_SISO(A,C,n)

image thumbnail

updated 1 year ago

MIMO-Diophantine solver by davood shaghaghi

This function solve MIMO-Diophantine equation. (control design, optimization, simulation)

mimodioph(A,B,N)

image thumbnail

updated 1 year ago

ADLX345 i2c Driver for Arduino Mega by Eddy Trinklein

This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega. (instrument driver, measurement, embedded code)

Arduino_ADLX345_driver_v1

image thumbnail

updated 1 year ago

Implementation of 16-QAM algorithm in the presence of AWGN channel by Umair Nadeem

This algorithm implements the 16-QAM modulation and demodulation in the presence of AWGN channel (communications, data export, data import)

qam.m

image thumbnail

updated 1 year ago

tetris by Alfonso Martinez

juego clasico del tetris con interfaz grafica haciendo uso del mouse (tetris, gui, guide)

tetris(action)

image thumbnail

updated almost 2 years ago

APM2 Simulink Blockset by Robert Hartley

Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad (aerospace, control design, simulink)

arduino.runAvrDude(hexFile)

arduino_make_rtw_hook(hookMethod, modelName, ~, ~, ~, ~)

arduino_select_callback_handler(hDlg, hSrc)

image thumbnail

updated almost 2 years ago

CELP codec by Sourav Mondal

This is a code to demonstrate CELP codecs of bitrate 9.6kbps and 16kbps. (celp, audio codec, lpc)

celp16k(x,N,L,M,c,cb,Pidx)

celp9600(x,N,L,M,c,cb,Pidx)

celpana(x,L,M,c,cb,Pidx,bbuf,ebuf,Zf,Zw)

image thumbnail

updated 2 years ago

Wave Player With Effects And Analysis by Muhammad Umair

It plays and add certain effects to a .wav file like a real media player. (wav player, effects, analysis)

image thumbnail

updated 2 years ago

A short Simulink workshop + Hebrew presentation by Roni Peer

A short 'What is Simulink' workshop I've passed on May 1st, 2012. (simulink, workshop, code generation)

start_slWorkshop_IDF(varargin)

variable_v(position,velocity)

Simulink_Workshop_Script.m

image thumbnail

updated 2 years ago

Polyspace Compiler Templates by Christian Bard

Polyspace Compiler template sets help at setup phase according to compiler and target (embedded code, setup, compilation)

image thumbnail

updated 2 years ago

OP-AMP basic circuits & filters by Sourav Mondal

Adder, Instrument amplifier, High Pass filter & low pass filter and many others (biotech, communications, data export)

Adder

HPF1st

HPF2nd

image thumbnail

updated 2 years ago

Embedded Coder Robot NXT Demo by Takashi Chikamasa

Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots (control design, simulink, embedded code)

BluetoothRead(port)

BluetoothWrite(port)

InitAccessorBlock(varargin)

image thumbnail

updated 2 years ago

ECRobotInstaller – Simplified installation of tools for Embedded Coder Robot by Gautam Vallabha

Simplifies the installation of ECRobot, a Simulink platform for LEGO Mindstorms NXT code generation (lego mindstorms, ecrobot, robot)

check_ecrobot_tools

compareDirectoryNames(a,b)

download_ecrobot_tools(downloadOption, programList)

image thumbnail

updated almost 3 years ago

Sine PWM by Vijayenthiran Subramaniam

Generating Sine PWM.Triangular wave generator is not used from library browser (sine pwm, sine, pwm)

Sine_PWM_Final.mdl

image thumbnail

updated almost 3 years ago

C++.NET programs inside MATLAB language by Mohammed Siddeq

run C++/C++.NET programs inside MATLAB language (embedded code, matrix, image processing)

[M]=Read_Write_File_Data(X,R_W,Check_Matrix,Str)

image thumbnail

updated almost 3 years ago

RWTH - Mindstorms NXT Toolbox by Alexander Behrens

Toolbox for controlling LEGO® MINDSTORMS® NXT robots via a Bluetooth or USB connection. (realtime workshop, embedded code, verification)

Example_1_PlayTone.m

Example_2_ReadSoundSensor.m

Example_3_DriveAroundTable_MotorClass.m

image thumbnail

updated 3 years ago

compatible2d interpolation function with code generation by Neil Abroug

2d interpolation function that can be used with embedded coder. (interpolation, embedded code)

codegen_interp2(X,Y,Z,xi,yi)

image thumbnail

updated 3 years ago

FTD2XX_NET_Write_GetPinStates by Roger M. Ellingson

Adds Read pin state funcionality to previously posted Test_FTD2XX_NET_BitBang demo code. (ftdi, ft232, parallel port)

FTD2XX_NET_Write_GetPinStates.m

image thumbnail

updated 3 years ago

Binary To Decimal Conversion by Said BOUREZG

Binfar2Dec.m Dec2Binfar.m Readme.m (image processing, signal processing, medical)

[DIFLcd,Tcod8]=Binfar2Dec(code)

code=Dec2Binfar(Tcod8,DIFLcd)

Readme.m

image thumbnail

updated 3 years ago

Color Model from PolySpace Verification by David Jaffry

The tool colors Simulink Model using PolySpace code verification. (simulink, polyspace, link)

Color_Model_From_Verification(callbackInfo)

sl_customization(cm)

Example

image thumbnail

updated almost 4 years ago

Test_FTD2XX_NET_BitBang by Roger M. Ellingson

Demonstration of calling FTDI's FTD2XX_NET.dll BitBang functions from Matlab. (net dll, ftdi, ft245)

Test_FTD2XX_NET_BitBang.m

image thumbnail

updated 4 years ago

Simulink Fixed-Point Tutorial R2008a (Japanese) demo files by Yorihisa Yamamoto

"SL Fixed-Point Tutorial R2008a (Japanese)" demo files. 「Simulink 固定小数点チュートリアル (R2008a)」の例題ファイルです。 (control design, embedded code, simulink)

data_motor_pid_control.m

fixpt_autoscaling

fixpt_numerictype

image thumbnail

updated 4 years ago

Simulink Fixed-Point Tutorial R2006b (Japanese) demo files by Yorihisa Yamamoto

"SL Fixed-Point Tutorial" demo files. 「Simulink Fixed Point/RTW-ECを用いた固定小数点コード生成 チュートリアル」の例題ファイルです。 (control design, embedded code, simulink)

change_datatype.m

data_dcmotor.m

data_pid_fp.m

image thumbnail

updated 4 years ago

RTW-EC Tutorial (Japanese) demo files by Yorihisa Yamamoto

"RTW-EC Tutorial (Japanese)" Demo files. 「RTW-ECを用いた組み込み制御プログラム開発 チュートリアル」の例題ファイルです。 (control design, embedded code, simulink)

data_dcmotor.m

data_pid.m

my_dataobject.m

image thumbnail

updated 4 years ago

Hydraulic Line by Medhat K. Bahr Khalil

Part of a tool box to generalize the simulation of a hydraulic system (aerospace, automotive, control design)

HydraulicLine

image thumbnail

updated 4 years ago

Hydraulic Fluid by Medhat K. Bahr Khalil

block to simulate the effect of pressure and temperature on the hydraulic fluids. (simulation, control design, aerospace)

HydraulicFluidTP

image thumbnail

updated 4 years ago

Convert a number in Hex to uint64 by Richard Pfisterer

A workaround for HEX2DEC for large numbers where rounding error is seen. (data exploration, embedded code, mathematics)

y=hex2uint64(x)

image thumbnail

updated almost 5 years ago

SerialIO mex by Lorgio Teodovich

SerialIO is written in C and allows you to read/write to a serial or com port. (serial, communications, embedded code)

image thumbnail

updated almost 5 years ago

Highly portable JSON-input parser by Nedialko

For any version of Matlab that may still be in use by the fileexchange community. (communications, data export, data import)

p_json(string)

image thumbnail

updated almost 5 years ago

Task execution profiling kit for Real-Time Workshop targets by David Maclay

A set of tools and examples to implement task execution profiling for a Real-Time Workshop target (realtime workshop, embedded code, verification)

create_serial_driver_blocks

exprofile_get_data_from_target1(connection, varargin)

exprofile_run(connection, varargin)

image thumbnail

updated almost 5 years ago

Dual Core Blackfin Application Example by Mark Walker

Target both cores of a BF561 microprocessor with Real-Time Workshop Embedded Coder (realtime workshop, embedded code, verification)

csc_registration(action)

dual_core_variables.m

dual_core

image thumbnail

updated almost 5 years ago

Calling Lookup Tables In Stateflow by Chris Fillyaw

This example demonstrates four common methods for calling look up tables in Stateflow®. (stateflow, lookup tables, function trigger)

covdata

covdata

image thumbnail

updated almost 5 years ago

Templates for Modeling Scheduling Behavior with Simulink and Stateflow ver 1p0 by Michael Burke

Templates modeling common schedule implementations (realtime workshop, embedded code, verification)

MultiRateFCB

modalStateChart

stateChartSchedwithOffset

image thumbnail

updated almost 5 years ago

How to Integrate Eclipse into the Real Time Workshop build environment by Michael Burke

Step by step instructions on how to install eclipse and cygwin to build Real-Time Workshop generated (realtime workshop, embedded code, verification)

image thumbnail

updated almost 5 years ago

Customizing the Model Advisor by Michael Burke

Step by step instructions on how to create and manage model advisor checks. (embed, demo, model)

sl_customization(cm)

Check_1_Multi

Check_1_P1

image thumbnail

updated 5 years ago

Address Specific Parameter Custom Storage Class by Richard Ruff

MemMap: A custom storage class that allows the user to specify the memory addresses of parameters in (realtime workshop, embedded code, verification)

CustomStorageClassListener(hRTWInfo)

CustomStorageClassListener(hRTWInfo)

MemMapVariableCheck(modelName)

image thumbnail

updated 5 years ago

External I/O and State Information Block by Roger Aarenstrup

This block generates an extra file during code generation containing external Inputs, outputs an (realtime workshop, embedded code, verification)

slblocks

model_info

image thumbnail

updated 5 years ago

Estimating memory footprint of generated code by Roger Aarenstrup

This tool outputs the code size and data footprint for code generated with Embedded Coder(TM). (aerospace, automotive, control design)

exp_target_make_rtw_hook(hookMethod,modelName,rtwroot,tem...

get_footprint(file_path, file_names)

get_size(in_str, field)

image thumbnail

updated 5 years ago

Code Coverage Tool by Mark Walker

Code Coverage Tool measures C statement coverage in generated code. (realtime workshop, embedded code, verification)

cct_setup(mdlname)

html_dump(sfname,cname)

cov_example

image thumbnail

updated 5 years ago

class2str: creates an eval-able string containing Matlab code describing a variable by Emmanuel Farhi

Creates an eval-like string which represents a variable. Useful for saving data/INI configuration (data export, data import, embedded code)

str=class2str(this, data)

image thumbnail

updated 5 years ago

NXT Scanner with Lego Mindstorms NXT by Yoshiaki Banno

NXT Scanner Model-Based Design based on Embedded Coder Robot NXT. (simulink, simulation, demo)

NXTScannerViewer.m

addExtIfNeeded(name)

convertLocalizedPropName(defInfo, val, prefix)

image thumbnail

updated 5 years ago

NXTway-GS (Self-Balancing Two-Wheeled Robot) Controller Design by Yorihisa Yamamoto

NXTway-GS Model-Based Design based on Embedded Coder Robot NXT. (realtime workshop, embedded code, verification)

iswall(pos, map)

mywritevrtrack(varargin)

param_controller.m

image thumbnail

updated 5 years ago

NXT Ballbot (Self-Balancing Robot On A Ball) Controller Design by Yorihisa Yamamoto

NXT Ballbot Model-Based Design based on Embedded Coder Robot NXT. (control design, modeling, simulation)

iswall(pos, map)

mywritevrtrack(varargin)

param_controller.m

Contact us