Community Profile

photo

Guy Rouleau


MathWorks

394 total contributions since 2008

Application Support Engineer for MathWorks. I like to write about Simulink and other MathWorks tools used in Model-Based Design at http://blogs.mathworks.com/simulink
Professional Interests: robotics, system modeling, Simulink

Contact

Guy Rouleau's Badges

Contributions in
View by

Answered
Is there any way to use a block that uses absolute time (e.g., Discrete-Time Integrator) in a referenced model executed by a function-call subsystem?
If you know what sample time at which the Discrete-Time Integrator will be triggered, you can use it in Accumulator mode. This w...

10 hours ago | 0

Submitted


Example Driver blocks for Simulink Hardware Support Packages
Example Driver blocks for LEGO Mindstorm NXT and Arduino support packages

3 months ago | 10 downloads |

Thumbnail

Submitted


Double suspended mass-spring-damper system
2 suspended masses linked by springs and dampers demonstrating basic SimMechanics features.

3 months ago | 13 downloads |

Thumbnail

Submitted


SimMechanics™ rover
This SimMechanics™ model implements a 4 wheels rover with suspension and a robotic arm.

3 months ago | 12 downloads |

Thumbnail

Submitted


Changing the color of a block while the simulation runs
Did you ever wanted to see the color of a block changing while a simulation is running?

3 months ago | 1 downloads |

Thumbnail

Submitted


Double Pendulum
This model implements a double pendulum both in SimMechanics™ and using basic Simulink® blocks.

3 months ago | 13 downloads |

Thumbnail

Submitted


Minor Time Step Logging
Demonstration showing how to log data computed by the Simulink® solver at minor time steps.

3 months ago | 4 downloads |

Thumbnail

Submitted


Simulink® Real Time Execution
C-MEX S-function that reduces the execution speed of a model close to real time

3 months ago | 99 downloads |

Thumbnail

Submitted


Synchronizing metronomes
The 5 pendulums, in a vectorized approach

3 months ago | 1 downloads |

Thumbnail

Submitted


Simulation of a one-legged hopping robot
Simulation of a one-legged hopping robot

3 months ago | 16 downloads |

Thumbnail

Solved


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

1 year ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

1 year ago

Solved


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

1 year ago

Answered
Transform Sensor - Problem with Velocity
One possible explanation is that signals input to S->PS blocks are discrete and filtering is disabled in the S->PS block. Try...

1 year ago | 0

Answered
generate text in simulink
There are 2 possibilities here: 1 - It is possible to define enumerated types in Simulink. With those, you can define for exa...

2 years ago | 0

Answered
Simulink block from workspace
I recommend going through the "Importing Signal Data in Simulink" section of the doc: http://www.mathworks.com/help/simulink/...

2 years ago | 0

Answered
Second Generation Sim Mechanics Motion Actuation
Sicne you don't provide the error, it is difficult to diagnose... The "Joint Actuation" doc page explains what you need to actua...

2 years ago | 0

Answered
Simulink - Excel
The Signal Builder block allows you to import a signal directly from Excel: http://www.mathworks.com/help/simulink/slref/sign...

2 years ago | 1

Answered
Simulink : Slow editing of Data Store Memory with Matlab R2011B - how to make it faster ?
I am not 100% sure this will fix it, but try those bug reports: http://www.mathworks.com/support/bugreports/874385 http://...

2 years ago | 0

Answered
(Simulink) Triggered Delay Line gone in 2014a. Replacements?
Look at the doc doc page for this block: http://www.mathworks.com/help/dsp/ref/triggereddelaylineobsolete.html The first t...

2 years ago | 0

Answered
A ramp block going backwards?
You are probably using a variable step solver. Variable step solvers often need to take steps backward to ensure they respect th...

2 years ago | 0

| accepted

Answered
Using mathematica code in Simulink
Almost... look at this link: http://blogs.mathworks.com/seth/2013/10/10/from-symbolic-to-simulink

2 years ago | 0

Answered
Is there any limitation in simscape in adding two types of sensors to a circuit?
Torque sensor allows zero motion, it needs to be connected in series. It is like a real physical torque sensor.

2 years ago | 0

| accepted

Answered
Sources for learning the intricacies of Simulink?
I try my best to describe important Simulink intricacies here: http://blogs.mathworks.com/seth/ Specific to s-function, he...

3 years ago | 0

Answered
Terminology 101: XPC , Real-Time, ERT, SIL, PIL, External Mode
I like this page for HIL: http://www.mathworks.com/discovery/real-time-testing.html This section of the doc will help for ...

3 years ago | 0

Answered
Is there a possible way to include enumeration in Signal builder function to define inputs?
Not possible... please contact support to explain your use case so it can be considered in future releases. For now, I would ...

3 years ago | 0

| accepted

Answered
Is there such a thing as a Physical Signal Bus
no... sorry!

3 years ago | 0

| accepted

Answered
Slow down Simulink to synchronize it with external session (JADE)
It is not clear how you interface with the external tool, but it looks lik an S-function is the way to go. In an S-Function (...

3 years ago | 1

| accepted

Answered
How to get sample time of the model through scrip?
Simulink.BlockDiagram.getSampleTimes http://www.mathworks.com/help/simulink/slref/simulink.blockdiagram.getsampletimes.html

3 years ago | 0

Answered
Non-zero start time in Rapid Simulation Target
I will not go into details... with RSim target you have an option to choose a solver. See this link to see how to configure this...

3 years ago | 0

Load more