photo

Guy Rouleau

Last seen: 10 days ago Active since 2008

Followers: 5   Following: 0

Message

Statistics

All
  • Thankful Level 2
  • 36 Month Streak
  • Solver
  • GitHub Submissions Level 3
  • Personal Best Downloads Level 3
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Pro
  • Revival Level 2
  • Knowledgeable Level 5

View badges

Feeds

Answered
How to correct error in port width or dimension in simulink ?
See my analysis of this question here: How to correct errors in port width or dimension in Simulink? » Guy on Simulink - MATLAB ...

2 months ago | 0

Answered
How can I create an impulse (delta) signal in Simulink?
This blog post provides an in-depth response to this question: How can I create an impulse (delta) signal in Simulink? » Guy on...

3 months ago | 0

Answered
Derivative of state '1' in block 'X/Y/Integrator' at time 0.55 is not finite.
I describe the most common reasons for this error in this blog post: Derivative of state ‘1’ in block ‘X/Y/Integrator’ at time ...

4 months ago | 1

Answered
how to run simulink simulation from matlab script
I wrote a blog post on this topic: How to Run Simulink Simulation from MATLAB Script? » Guy on Simulink - MATLAB & Simulink (ma...

5 months ago | 1

Answered
How to create a "Protected model" from a model containing S-Function?
Support for non-inlined S-Functions inside protected referenced models have been added in R2021b.

6 months ago | 1

Answered
Non inlined S function in a protected model
non-inlined s-funciton are supported in protected model starting in R2021b

6 months ago | 1

Answered
Why do I get the Simulink error: "Cannot create variable 'streamout' in workspace"
"streamout" is from a realtively old version, around R2016. I would recommend upgrading. If not possible, look in your "tempdir...

3 years ago | 0

Answered
Export model as FMU for Cosimulation stand-alone
Beginning with R2020a, you can export your Simulink model as a standalone FMU with Simulink Compiler. When a third-party tool ru...

4 years ago | 2

Answered
Is there a way to stop compiling process when the model has started to compile in Simulink?
In MATLAB R2020b and before, there is no way to interrupt the model compilation. We are aware that this is a common pain point ...

4 years ago | 1

Answered
How to deploy simscape models with tunable block parameters?
It looks like you need to enable the display of Simscape run-tim parameter settings in blocks dialog, this cna be done fomr the ...

4 years ago | 0

| accepted

Answered
Creating a standalone .exe of an .m file that calls a simulink model
In R2020a, a new product Simulink Compiler has been released to address this exact use case. See an example here.

4 years ago | 5

Answered
Matlab Compiler And Simulink
In R2020a, a new product Simulink Compiler has been released to address this exact use case. See an example here.

4 years ago | 3

Answered
Has anyone solved this issue in 2018b? - Undefined function or variable 'fallbackType'
This is a bug in MATLAB R2018b. To work around, enable the option "allow setting breakpoints during simulation" from the Simulat...

5 years ago | 2

| accepted

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

8 years ago | 1

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

9 years 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...

9 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/...

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

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

10 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://...

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

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

10 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

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

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

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

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

11 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 (...

11 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

11 years ago | 1

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

11 years ago | 0

Load more