image thumbnail

updated 4 days ago

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

Optimized C code generation for ARM Cortex-A processor based systems using Ne10 library. (arm, signal processing, communications)

image thumbnail

updated 1 month ago

Raspberry Pi 2, get system clock with timeval by Marc Compere

This Simulink model has an S-function builder block to access the linux system time via gettimeofday (raspberry pi 2, simulink, embedded code)

hello_world_raspberry_pi_6_get_system_clock_timeval.slx

image thumbnail

updated 3 months ago

Model and code for a minimum-jerk controller by Ugo Pattacini

Example of how to model systems with Simulink and generate the code (simulink, embedded code, control design)

image thumbnail

updated 4 months ago

Code for Webinar "Signal Processing and Machine Learning Techniques for Sensor Data Analytics" by Gabriele Bunkheila

Code from Webinar "Signal Processing and Machine Learning Techniques for Sensor Data Analytics" (signal processing, machine learning, neural networks)

addActivityLegend(mode)

bwlabels1(x)

bwnumregions1(x)

image thumbnail

updated 6 months ago

subroutines/con by Brad

Brad (view profile)

add a messenging console to a figure (annotation, embedded code, example)

image thumbnail

updated 7 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 1 year ago

MATLAB to iPhone Made Easy example files by Bill Chou

Use MATLAB Coder to generate C code and integrate it into an iPhone/app using Apple’s XCode IDE (embedded code, iphone, ipad)

Filter_design_parameters_25_Nov_2013_11_59_17()

design_xyz_filter

xyz_filter(x,y,z,reset_filter,Structure,SOSMatrix,ScaleVa...

image thumbnail

updated 1 year ago

Reversible Watermarking Algorithm Using Sorting and Prediction by mongkol

mongkol (view profile)

Reversible Watermarking Algorithm Using Sorting and Prediction (image processing, reversible watermarki..., reversible data hidin...)

crossset(originalImage)

dec2binvec(dec,n)

dotset(av_cross_image)

image thumbnail

updated 1 year 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()

get_sb_rmi_group_info(block,group)

Roll_AP_PlotData.m

image thumbnail

updated 1 year ago

fig2mat.m by davood shaghaghi

Extract data from figure (control design, image processing, power electronics)

fig2mat.m

image thumbnail

updated 1 year 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)

custom_comments_example.m

addExtIfNeeded(name)

convertLocalizedPropName(defInfo, val, prefix)

image thumbnail

updated almost 2 years 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 2 years 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 2 years ago

D-Q axis current by naveen

naveen (view profile)

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

Alpha2_DQ.slx

image thumbnail

updated 2 years 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 2 years ago

MIMO-Diophantine solver by davood shaghaghi

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

mimodioph(A,B,N)

image thumbnail

updated almost 3 years 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.slx

image thumbnail

updated 3 years 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 3 years ago

tetris by Alfonso Martinez

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

tetris(action)

image thumbnail

updated 3 years ago

APM2 Simulink Blockset by Robert Hartley

Robert Hartley (view profile)

  • 1 file
  • 161 downloads
  • 4.58333

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 3 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 3 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 almost 4 years ago

A short Simulink workshop + Hebrew presentation by Roni Peer

Roni Peer (view profile)

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 almost 4 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 almost 4 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.mdl

HPF1st.mdl

HPF2nd.mdl

image thumbnail

updated almost 4 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 almost 4 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 4 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 4 years ago

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

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

Read_Write_File_Data(X,R_W,Check_Matrix,Str)

image thumbnail

updated 4 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 4 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 4 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 5 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.mdl

image thumbnail

updated 5 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 5 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_sl_product_div.mdl

fixpt_numerictype.mdl

image thumbnail

updated 5 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 5 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 6 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.mdl

image thumbnail

updated 6 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.mdl

image thumbnail

updated 6 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)

hex2uint64(x)

image thumbnail

updated 6 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 6 years ago

Highly portable JSON-input parser by Nedialko

Nedialko (view profile)

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 6 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 6 years ago

Dual Core Blackfin Application Example by Mark Walker

Mark Walker (view profile)

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.mdl

image thumbnail

updated 6 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)

interp_1d_examples.mdl

interp_1d_examples_r2008b.mdl

image thumbnail

updated 6 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)

modalStateChart.mdl

MultiRateFCB.mdl

stateChartSchedwithOffset.mdl

image thumbnail

updated 6 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 6 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_2_P2.mdl

Check_1_P2.mdl

image thumbnail

updated 6 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 6 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.mdl

Contact us