image thumbnail

updated 1 year ago

Converting Dataset Simulation results to Excel Spreadsheet by Roni Peer

Two simple functions that convert a Dataset parameter, containing Simulink Simulation data, to excel (excel, dataset, simulink)

Dataset2XLS(DATA, filename)

XLS2Dataset(filename)

example_ReadDS

image thumbnail

updated almost 2 years ago

Comparing different methods to solve an Inverted Pendulum problem by Roni Peer

A simple reporting tool that shows how you can model an inverted pendulum in a few methods. (report, comparison, mupad)

Dynamics of a Single Link

example_syms.m

SLSingleLink

image thumbnail

updated almost 2 years ago

Reporting tools in the MATLAB and Simulink Environment by Roni Peer

This submission shows how you can export your results from MATLAB, via different reports. (report, publish, export)

snr(noisydata, original)

RUNME.m

myScript.m

image thumbnail

updated almost 2 years ago

Reporting tools in the MATLAB and Simulink Environment by Roni Peer

Three ways to report your results to someone who doesn't use MATLAB. (report, matlab reports, compare)

snr(noisydata, original)

RUNME.m

myScript.m

image thumbnail

updated almost 2 years ago

Time Logger for Stateflow by Roni Peer

This function will log the time each state was active during simulation. (stateflow, time, logging)

Stateflow_Time_Logger(mdlName)

example_sf_car

example_sf_yoyo

image thumbnail

updated 2 years ago

Send Video from Simulink diretly to MATLAB GUI - Example. by Roni Peer

This simple example shows how you can take a Simulink signal (Video feed), and disply it in a GUI. (matlab, simulink, gui)

sfuntmpl_imaq(block)

simpleGUI_imaq(varargin)

START_HERE.m

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

Example for creating Multiple Entities for SimEvents - from excel by Roni Peer

An Excel file contains information about time and number of units to dispatch - use in SimEvents. (simevents, excel, import)

MultipleEntities_Excel

image thumbnail

updated almost 3 years ago

Pause a long MATLAB run with a simple click. by Roni Peer

A simple way to pause a long simulation, to check progress, without expensive breakpoints or checks (pause, matlab run, ctrlp)

createButton

myFcn(u)

image thumbnail

updated almost 3 years ago

Using MATLAB for Bearing Fault Analysis by Roni Peer

Ball Bearings can have several faults, which result in different signals. This program shows this. (bearing, analysis, signal processing)

[K1, K2, K3]=kurtpar(Y,t)

bearing(P, t)

bearingAnalysis(varargin)

image thumbnail

updated almost 3 years ago

Calculate PSD of a signal using Welch algorithm by Roni Peer

A short function I've revised a long time ago to calculate the PSD of a signal. (psd, welch, signal processing)

calc_psd(X, NFFT, Fs, WINDOW)

image thumbnail

updated 3 years ago

Digital 8-Bit library for use with Simulink by Roni Peer

A library of useful Digital components, to use with Simulink, along with Test models. (sar, ad, da)

Digital_8bit_Library

Test_A2D_SAR_SL

Test_Adder_8bit

image thumbnail

updated 3 years ago

Learn Basic Abilities of Simulink - Guide by Roni Peer

If you want to learn and love Simulink, follow these six documented steps with models. (learn, guide, simulink)

start_LearnSimulink(varargin)

AC_Library

SLWS_Step_01

image thumbnail

updated 3 years ago

Buffer and UnBuffer using Simulink Blocks by Roni Peer

A simple way to model Buffer and UnBuffer blocks, using just Simulink Blocks. Contains also a test. (buffer, unbuffer, simulink)

BufferSL_UL

Contact us