Statistics
0 Questions
308 Answers
16 Files
Cody0 Problems
10 Solutions
440 Posts
HighlightsRANK
134
of 295,495
REPUTATION
906
CONTRIBUTIONS
0 Questions
308 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
187
RANK
461 of 20,240
REPUTATION
3,556
AVERAGE RATING
4.60
CONTRIBUTIONS
16 Files
DOWNLOADS
78
ALL TIME DOWNLOADS
32863
CONTRIBUTIONS
440 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
2 Highlights
AVERAGE NO. OF LIKES
1
Feeds
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
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
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
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
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
Non inlined S function in a protected model
non-inlined s-funciton are supported in protected model starting in R2021b
6 months ago | 1
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
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
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
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
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
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
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
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
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
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
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
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
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
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
(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
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
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
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
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
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
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
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
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
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