Community Profile

photo

Guy Rouleau

Last seen: 2 days ago Active since 2008

Statistics

All
  • 36 Month Streak
  • Thankful Level 1
  • 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 4

View badges

Content Feed

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

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

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

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

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

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

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

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

5 years ago | 0

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

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

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

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

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

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

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

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

7 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

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

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

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

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

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

8 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

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

8 years ago | 0

Answered
robotic arm force feedback simulation
This is very close to that you need: http://www.mathworks.com/help/physmod/sm/examples_v2/computing-actuator-torques-using-in...

8 years ago | 0

| accepted

Answered
Simulink Block execution information problem
Display the sorted order: http://www.mathworks.com/help/simulink/ug/controlling-and-displaying-the-sorted-order.html Here ...

8 years ago | 0

| accepted

Answered
linmod or linearize?
Here it is: http://www.mathworks.com/help/slcontrol/ug/linearizing-nonlinear-models.html#bsp453g-1 In short, the answer is...

8 years ago | 0

Answered
Problem in linearizing a Simulink model
It is difficult to say without looking inside the subsystem in your model. A few tips: - If you have Simulink Control Design...

8 years ago | 0

| accepted

Answered
How do you convert a virtual subsystem to a subsystem which can be converted to referenced model?
The subsystem need to be atomic. Right-click on it, parameters, you should see a "Treat as atomic unit" checkbox. http://w...

8 years ago | 1

| accepted

Answered
Can I use embedded matlab functions in simulink models? Is it a good practice to use this?
yes, and yes! (but like all good things... don't abuse it)

8 years ago | 0

Load more