image thumbnail

updated 21 hours 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 21 hours 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 21 hours 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 (hBlk,watchPort)

image thumbnail

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

FLC4EV_MM.slx

FLC4EV_MM_PlecsViewer.slx

GUI_FLC_MC(varargin)

image thumbnail

updated 7 days 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 12 days 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 15 days 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_sf.slx

simlib_test_mls.slx

simlib_test.slx

image thumbnail

updated 26 days 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 26 days 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 26 days 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)

diabetes_1step.slx

diabetes_2sim.slx

diabetes_3pid.slx

image thumbnail

updated 28 days ago

SailingYachtModel.zip by Jerome Jouffroy

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

X_dot_ext=f(V_in)

SailingYachtModel

image thumbnail

updated 29 days ago

Raspberry Pi Robot by Owen McAree

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

image thumbnail

updated 1 month 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 1 month 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 1 month 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_communication

modifyDemoHTML(mlStyleSheet)

slblocks

image thumbnail

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

lego_drive_closedloop

slblocks

lego_communication

image thumbnail

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

Sensitivity analysis in Simulink models with Monte Carlo method by Carlos M. Velez S.

Monte Carlo method for sensitivity analysis of Simulink models (monte carlo, sensitivity analysis, simulink)

example_PID

example_pendulum

sens_montecarlo(model,cell_par,N)

image thumbnail

updated 1 month 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 1 month 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 1 month 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 2 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 2 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)

Motion_Actuation(test,mdl)

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)

TableBlock.delete_recursive( line_handle )

TableBlock.set_block_display(block_handle,checked)

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 3 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 3 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 3 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 3 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)

[A,B,C,D]=cola_linearize(func,x0,u0)

[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

Compute_GFE_Prop(rho, youngsM, shearM, numelem, beam_leng...

FlexBeamElement_MS2G_Lib

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 4 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...)

cstr

ferment

beerfun(t,x,u,flag)

image thumbnail

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

Fisher_resid_bu(Pmat,seg_left,seg_right);

buseg(Pmat,num_segments,minres,help_vec)

cost=cost_function_Krzan(A,B)

image thumbnail

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

[A,B,C,D]=cola_linearize(func,x0,u0)

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

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

image thumbnail

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

[sizes,x0,str,ts]=obj(t,x,be,flag);

dels.m

invdels1.m

image thumbnail

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

Frequency Measurement by Praveen

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

b_cb(gcb)

frequency_measurement_withHELP

image thumbnail

updated 4 months ago

Tenet_RFID_Library_For_Arduino_Mega2560.zip by Ram

Tenet Technetronics' RFID library for Arduino Mega 260 (rfid, tenet technetronics, arduino)

makeInfo=rtwmakecfg()

RFID_read_model

renc2cpp(sfname)

image thumbnail

updated 4 months ago

ArduinoIO.zip by Erjon Bacaj

This package allows using an Arduino connected to the computer to perform Analog and Digital Input. (dc motor control)

arduinoCleanup(customData,arduinoVar)

getSetupBlockUserData(modelHandle, arduinoVar)

msfun_arduino_analogread(block)

image thumbnail

updated 5 months ago

An Educational Fuzzy-based Control platform using LEGO Robots by Daniel

Fuzzy-based Control platform using LEGO Robots (simulink, matlab)

controlf2(u)

PathtrackingReducido

tra1.m

image thumbnail

updated 5 months ago

PVTOL_tracking_methods_equidistant_path.zip by Fernando Diaz-del-Rio

Tracking methods for an Equidistant path in PVTOL (according to Hauser/Hindman. Maneuver regulation) (robotics, path, aerospace)

EAT ( psi_1, psi_2, psi_3, psi_4, psi_5, psi_6, psi_7, ps...

coord_change_x_z ( ...

coord_change_xv_u ( ...

image thumbnail

updated 5 months ago

PVTOL_tracking_methods.zip by Fernando Diaz-del-Rio

Tracking methods for PVTOL according to Hauser/Hindman. Maneuver (robotics, path, control)

EAT ( psi_1, psi_2, psi_3, psi_4, psi_5, psi_6, psi_7, ps...

coord_change_x_z ( ...

EATpvtol_v6_full

image thumbnail

updated 5 months ago

ModelRefSDDReports.zip by Mike Anthony

Create a linked hierarchy of SDD Reports from a Model Reference hierarchy (sdd, model reference, report generator)

RM_1

RM_1a

RM_1b

image thumbnail

updated 5 months ago

Adaptive Neuro-Fuzzy Inference Systems (ANFIS) Library for Simulink by Ilias Konsoulas

This Simulink library contains six ANFIS/CANFIS system variations. (adaptive neurofuzzy i..., anfis, canfis)

anfis_art_forward(x,u2,v2,gamma,ThetaL4)

anfis_grid_forward(x,mean,sigma,b,ThetaL4)

anfis_scatter_forward(x,mean,sigma,b,ThetaL4)

image thumbnail

updated 5 months ago

Simulink (Embedded Coder) Target for TI Stellaris LaunchPad by Mikhail

Simulink (Embedded Coder) Target for TI Stellaris LaunchPad (simulink, embedded coder, target support)

image thumbnail

updated 5 months ago

Dynamical Systems with Applications using MATLAB 2e by Stephen Lynch

MATLAB, Simulink and MuPad files to accompany the second edition of the book. (binary oscillator com..., fractals, differential equation...)

Program_6c(~)

Simulink_1

Simulink_10

image thumbnail

updated 5 months ago

Sim.I.am by Jean-Pierre de la Croix

A MATLAB-based educational bridge between theory and practice in robotics. (robotics, control design, simulation)

Contact us