image thumbnail

updated 5 days 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.slx

image thumbnail

updated 5 days ago

Uncertainty and sensitivity analysis of Simulink models using brute-force method by Carlos M. Velez S.

Global sensitivity analysis using the brute-force variance-based method and Monte Carlo simulation (monte carlo, sensitivity analysis, simulink)

example_pendulum.slx

example_sir.slx

example_PID.slx

image thumbnail

updated 6 days ago

Optical Communication systems (SoftTDM 2012a) by David Steckler

Upgrade and improvement of optical communications blocksets. (telecommunications, protocols, sdh)

SoftTDMLib_Compacta.mdl

MODELO_STS12.mdl

MODELO_STM4.mdl

image thumbnail

updated 7 days ago

nasa/T-MATS by Jeffryes

Simulink Toolbox for the Modeling and Analysis of Thermodynamic Systems, such as gas turbines (simulation, simulink, example)

image thumbnail

updated 10 days ago

GPC control of a two-tank system by Yiping Cheng

To illustrate how to control a nonlinear plant using GPC based on a locally linearized model (control design, control)

GPCcoef(n, p, alpha, beta)

TwoTank.mdl

radical(x)

image thumbnail

updated 16 days ago

Create Zero Pressure Balloon Contour by Brent Justice

Design and Create a natural shape zero pressure scientific balloon (gui)

stdatmo.m

natural_balloon.slx

volRevolve.m

image thumbnail

updated 18 days ago

mabrauer/hyperloop_sl by Matt Brauer

Simulink project for performing simulations and generating visualizations of the Hyperloop (hyperloop, googleearth)

image thumbnail

updated 20 days ago

ColorThePorts by Shashikiran Rajashekar

Colors the input and output ports based on the datatype of port (simulink, port, find_system)

ColorThePorts(Model)

untitled.mdl

Subsystem1_Lib.mdl

image thumbnail

updated 21 days ago

GPC (Generalized Predictive Control) in State-Space Domain by Yiping Cheng

A DMC-like implementation of GPC (control design, control)

GpcControl(t,xiu,ry,flag)

SSGPC.mdl

image thumbnail

updated 23 days ago

AR Drone Simulink Development-Kit V1.1 by David Escobar Sanabria

Blockset for the simulation and Wi-Fi control of the Parrot ARDrone 2.0. Simulate, connect, and fly! (embedded systems, cyberphysical systems, autonomous vehicle)

getWaypoints( )

ARDroneWPTrackingSim.slx

ARDroneWPTracking.slx

image thumbnail

updated 24 days ago

Photovoltaic module explicit neural model by Bartlomiej Ufnalski

A feedforward neural network is used to model a photovoltaic module. (solar energy, photovoltaics, renewables)

pv_array_sf.m

MPPT_Newton_PV_and_FFNN_PV.slx

pv_array(Va,Suns,TaC)

image thumbnail

updated 27 days ago

Data based modeling of nonlinear dynamic systems using System Identification Toolbox by Rajiv Singh

Perspectives on nonlinear identification using a throttle valve modeling example. (toolbox, system identification, narmax)

throttleODE(t, x, F, c, k, K, b, varargin)

Models_in_Simulink.mdl

throttledemo.m

image thumbnail

updated 27 days ago

Stateflow Design Patterns (Part II) by Michael Carone

This ZIP-file contains the models that were discussed in the MathWorks webinar entitled "Stateflow D (simulation, stateflow design patt...)

failures(varargin)

red_elev_control.mdl

mode_logic.mdl

image thumbnail

updated 27 days ago

Using Model-Based Design for Vehicle Electronics Applications by Michael Carone

This ZIP-file contains the presentation and power window model that was used in the MathWorks webina (automotive, vehicle, body)

mech_interface_blocks_update(blockH)

mech_interface_portSup(hPort)

pmJointInfo

image thumbnail

updated 1 month ago

Fuzzy logic control of electric vehicle by Marek Michalczuk

A fuzzy inference system is used to power management for an electric vehicle with a hybrid source (fuzzy logic, hybrid energy storage, fuzzy inference syste...)

GUI_FLC_MC_PViewer(varargin)

[f]=plotsflcmm(wynik)

FLC4EV_MM_PlecsViewer.slx

image thumbnail

updated 1 month ago

Teaching Mechatronics with Low Cost Hardware: Webinar Examples by Davide Ferraro

Examples for the webinar "Teaching Mechatronics with Low Cost Hardware" (pandaboard, arduino, lego mindstorms nxt)

ArduinoGame.m

Tribot_Control_Position_Design.mdl

blink_modes.mdl

image thumbnail

updated 1 month ago

Quad-Sim by David

Parameter driven Simulink model for quadcopter simulation and control system design (pick of the week, potw, quadcopter)

image thumbnail

updated 1 month ago

Calling Shared Libraries from Simulink by Mikhail

This paper discusses several approaches for calling shared libraries from Simulink models (simulink, legacy code tool, lct)

simlib_test_mls.slx

simlib_test.slx

simlib_test_dyn.slx

image thumbnail

updated 1 month ago

Simulink Dual Gravity Drained Tank by John Hedengren

Process control simulation tutorial for PID tuning (process control, pid, level control)

Gravity_Drained_Tanks.slx

PlotTanks(u)

tank_dynamics(t,x,u,flag,P)

image thumbnail

updated 1 month ago

Simulink CSTR Simulation and Control by John Hedengren

Exothermic CSTR with predictions for outlet temperature and concentration. (pid, cstr, reaction kinetics)

cstr_sim.slx

msfun_realtime_elapsed(block)

realtime_pacer_lib.mdl

image thumbnail

updated 1 month ago

Blood Glucose Regulation in a Type-I Diabetic in Simulink by John Hedengren

Control blood sugar levels by adjusting insulin injection pump rate (pid, blood glucose, insulin)

diabetic(t,y,u,flag)

msfun_realtime_elapsed(block)

msfun_realtime_pacer(block)

image thumbnail

updated 1 month ago

SailingYachtModel.zip by Jerome Jouffroy

Sailing Yacht model simulation in Matlab/Simulink with 3D Animation. (sailing yacht, nonlinear controlgnc ...)

SailingYachtModel

X_dot_ext=f(V_in)

image thumbnail

updated 1 month ago

Raspberry Pi Robot by Owen McAree

Control a Raspberry Pi powered robot with MATLAB and Simulink (robot, robotics, image processing)

image thumbnail

updated 2 months ago

SimMechanics Contact Forces Library by Steve Miller

Contact force models and force laws for multibody modeling in SimMechanics. (contact forces, collision, impact)

Cam_Follower

Collision_01_Ball_Infinite_Plane

Cam_Follower_UI(varargin)

image thumbnail

updated 2 months ago

SimMechanics Mini Golf Library by Steve Miller

Components for modeling a mini golf course. Contact forces are demonstrated on a 9-hole course. (simmechanics, second generation, 2g)

Actuation_Lib

Contact_Forces_Lib

Course_Holes_Lib

image thumbnail

updated 2 months ago

Simulink Support Package for LEGO MINDSTORMS NXT hardware (R2012b) by MathWorks Simulink Team

Simulink block library for creating models that run directly on your LEGO MINDSTORMS NXT robot (lego mindstorms, lego nxt, lego robot)

lego()

lego_communication

lego_drive_closedloop

image thumbnail

updated 2 months ago

Simulink Support Package for LEGO MINDSTORMS NXT hardware (R2012a) by MathWorks Simulink Team

Simulink block library for creating models that run directly on yourLEGO MINDSTORMS NXT robot (lego mindstorms, lego nxt, lego robot)

slblocks

targetupdater

lego_communication

image thumbnail

updated 2 months ago

Plug-in Direct Particle Swarm Repetitive Controller by Bartlomiej Ufnalski

This project demonstrates repetitve process control using evolutionary dynamic optimization tools. (repetitive control, iterative learning co..., ilc)

CACF_VSI_with_load

CACF_VSI_with_load_PLECS

pdpsrc.m

image thumbnail

updated 3 months ago

MATLAB Support for Arduino (aka ArduinoIO Package) by MathWorks Classroom Resources Team

MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board (support package, arduino, duemilanove)

arduinoCleanup(customData,arduinoVar)

getSetupBlockUserData(modelHandle, arduinoVar)

msfun_arduino_analogread(block)

image thumbnail

updated 3 months ago

Getting Started AUVSI by MathWorks Student Competitions Team

Documentation and Examples for AUVSI Competitions (auvsifdn, roboboat, robosub)

findBuoyMatlab_loop

findBuoyMatlab_timerCallbacks

findBuoyMatlab_timerCallbacks_labelClosest

image thumbnail

updated 3 months ago

X-Plane Library.zip by Adriano Bittar

This library provides blocks to communicate with the flight Simulator X-Plane. (xplane, control, communication)

Cessna_Altitude_Control_Example

selecting_parameters(varargin)

selecting_parameters(varargin)

image thumbnail

updated 3 months ago

Simulation of a one-legged hopping robot by Guy Rouleau

Simulation of a one-legged hopping robot (mechanical modeling, robotics, simmechanics)

OneLeg_VR_TouchInput

One_Leg_Robot

sfuntraj(t,x,u,flag,axes,Ts,mode)

image thumbnail

updated 3 months ago

SIMULINK Sigma-Delta Toolbox by Isacco Arnaldi

Model-Based design and simulation of various Sigma-Delta ADCs (adc, dsp, audio processing)

SNRestimation(simout, f)

CT_SigmaDelta

DT_SigmaDelta

image thumbnail

updated 3 months ago

Landing Gear Model in Simscape by Pravesh Sanghvi

Landing gear model, including main and lock hydraulic actuators, and multibody dynamics (physical modeling, landing gear, hydraulic)

Hydraulic_System_Param_Est

Generate_Sim_Settings(param_vals,param_name,rtp)

Landing_Gear

image thumbnail

updated 3 months ago

Tabular Expression Toolbox by Colin Eles

A tool for creating tabular expressions in Matlab/Simulink integrating checking with PVS and CVC3. (simulink, formal methods, gui)

TTdiag(varargin)

Jin_Parnas_Example

ReadabilityExample

image thumbnail

updated 3 months ago

RC Receive Driver Block for Arduino by Sergio Biagioni

Control an Arduino robot using an RC Transmitter and Receiver with Simulink (rc custom driver bloc...)

modify(varargin)

rcreceive

rcreceive_masked

image thumbnail

updated 4 months ago

Adaptive DPD Design by Kerry Schutz

A workflow for modeling and simulating PAs and adaptive DPDs. (dpd, digital predistortion...)

ILA_CONFIGSS

dpd_adapt_verify

dpd_static_verify

image thumbnail

updated 4 months ago

Generator for State-Based Schedules (schedGen v2.0) by Akramul Azim

Using optimization constraints associated to timing requirements to generate state-based schedules (specification, system design, schedules)

avg_mode_change_delay.m

sgen.constraints(S, filename)

sgen.get_ampl_sched_from_file(filename)

image thumbnail

updated 4 months ago

Solving Optimal Control Problems using Simscape Models for State Derivatives by Daniel Herber

This code replicates the results found in a tech report by the same name (brysondenham, design, control)

BrysonDenhamDerivative(t,y,u,p)

BrysonDenhamMain()

BrysonDenhamPlot(uMat,sMat,p)

image thumbnail

updated 4 months ago

MakerFaireMathworks/Competition by Paul

Simulation and Arduino/Raspberry Pi competition/workshop (robot, arduino, raspberrypi)

image thumbnail

updated 4 months ago

Fuzzy Model Identification for Control by Janos Abonyi

Several applications of fuzzy modeling (control algorithms, fuzzy control, intelligent control)

IRMexit

[A,b,eq]=gener(nm,ny,nu,flagstab,flaghamm,gmin,gmax,tmin,...

[f,g]=cola4_lin(X,u)

image thumbnail

updated 4 months ago

Flexible Beam in SimMechanics by Pravesh Sanghvi

Flexible beam using lumped parameter and state-space methods for static, modal, and dynamic analysis (physical modeling, flexible bodies, cantilever beam)

Compare_Flexible_Cantilever_SS_Full_Reduced

FlexBeamElement_MS2G_Lib

Extr_Data_Box(box_ox, box_ix, varargin)

image thumbnail

updated 4 months 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)

Design_of_nominal_plant_for_Motor_and_Gear

convertLocalizedPropName(defInfo, val, prefix)

image thumbnail

updated 5 months ago

Interactive Evolutionary Computing (EASY-IEC) MATLAB Toolbox by Janos Abonyi

Implementation of Interactive Evolutionary Computation (IEC) (model based optimizat..., process engineering, creativity supporting...)

beerfun(t,x,u,flag)

ferment

cstr_pifun(t,x,in,flag,param);

image thumbnail

updated 5 months ago

Fisher information matrix based time-series segmentation of process data by Janos Abonyi

A goal-oriented Fisher information based time-series segmentation algorithm (identification, offline, neigbouring segments)

TF_SISO_orig_test

Fisher_resid_bu(Pmat,seg_left,seg_right);

buseg(Pmat,num_segments,minres,help_vec)

image thumbnail

updated 5 months ago

Constrained Fuzzy Model Identification - Files for Fuzzy Modeling and Identification Toolbox by Janos Abonyi

Can be used for estimation of the consequent model parameters (fuzzy, identification, toolbox)

IRMexit

[A,b,eq]=gener(nm,ny,nu,flagstab,flaghamm,gmin,gmax,tmin,...

[f,g]=cola4_lin(X,u)

image thumbnail

updated 5 months ago

Feedback Linearizing Control Using Hybrid Neural Networks Identified by Sensitivity Approach by Janos Abonyi

Identification and application of hybrid models for Globally Linearizing Control (neural network, cstr, blackbox)

fmin_lm(yfun,jxfun,x0,ym,opt,uservar)

fsimu(theta,in2);

sim_freerun

image thumbnail

updated 5 months ago

Fuzzy Modeling with Multidimensional Membership Functions:Grey-Box Identification and Control Design by Janos Abonyi

Framework for fuzzy modeling and model-based control design (fuzzy, greybox, linearization)

freerun

dels.m

invdels1.m

image thumbnail

updated 5 months ago

A benchmark software for multivariate statistical process control by GIEM

GUI tutorial for understanding the PCA-based MSPC strategy (multivariate statisti..., principal component a..., multivariate control ...)

CreateFeedSignal(tSim,tSample,type,initialValue,ChangeRat...

InterpTemp(t,x,u,flag)

colas_PI

image thumbnail

updated 5 months ago

Frequency Measurement by Praveen

This block measures the frequency of a signal. (frequency, measurement, measure)

b_cb(gcb)

frequency_measurement_withHELP

Contact us