Publié le


Signal Hierarchy Viewer
If you are like me and often need to understand and edit new Simulink models, you probably already looked at a bus signal...

environ 14 ans il y a

Thumbnail

Réponse apportée
Error in port widths or dimensions
I don't know where the 4 comes from in your error message, but your B and D matrices have 2 columns, so your system should have ...

environ 14 ans il y a | 0

Réponse apportée
Maximum step size or automatic timing
Hi Dirk, This is very good question. There are 2 ways in Simulink to force a variable-time step solver to take a step at a...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
SIMSCAPE SINEWAVE DELAYED IN SCOPE
I think this is just a scope problem On the scope, click on the "Parameters" button. Go to the History tab and uncheck the "L...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Difference b/w virtual and non virtual bus?
A virtual bus is just a visual representation in the Simulink editor. It makes your model look nicer and easier to manage when y...

environ 14 ans il y a | 9

Publié le


Automatic Refresh of Links and Model Blocks
The first time I tried editing models componentized with library blocks and referenced models in R2012a, I noticed something...

environ 14 ans il y a

Thumbnail

Réponse apportée
Why am I observing zero flow rate in my SimHydraulics model ?
You say: "The fuel pump is wired in series to the two sensor" Flow sensor should be connected in series. Pressure sensor must...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Loading structure with Simulink output returns timeseries object error
I tried reproducing by saving many variables to a mat-file, including a structure with fields of class Simulink.ModelDataLogs an...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Simulink - Disabling - Enabling - Switching Off-On - Blocks - Subsystems
I would recommend using Variant Subsystem: http://www.mathworks.com/help/toolbox/simulink/slref/variantsubsystem.html The ...

environ 14 ans il y a | 2

Réponse apportée
Using structures as input of the model with parallel computing
I recommend using pctRunOnAll to initialize all the workers once before starting the for loop. About your error, look at the ...

environ 14 ans il y a | 0

Publié le


A scope for Simulink and MATLAB
Do you know about the Time Scope available with the DSP System Toolbox? This visualization tool was introduced in release...

environ 14 ans il y a

Thumbnail

Réponse apportée
Joint Actuator Question
Are you activating in Force or motion? If this is in motion, the following might help: http://blogs.mathworks.com/seth/2012/0...

environ 14 ans il y a | 1

Réponse apportée
sending UDP packets from simulink directly over network?
Yes... you did not ask, but in case you want to know how, I would suggest to use the "UDP Send" block: http://www.mathworks.c...

environ 14 ans il y a | 1

Réponse apportée
Use of Simulink Signal Logging and SimScape Logs with Parallel
The following documentation page explain how to use the Single-Output Syntax for the sim Command: http://www.mathworks.com/he...

environ 14 ans il y a | 1

| A accepté

Publié le


Conditional Execution
As we all know, in Simulink there are always multiple ways to implement a functionality. One situation where I often...

environ 14 ans il y a

Thumbnail

Réponse apportée
simulink feedback error
In the dialog of the Inport, try to latch the input signal. Otherwise, introduce a delay in the loop.

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Problem with generating a signal
It looks like a problem with sample time. Enable the sample time colors from the Format menu. This will help you to view at w...

environ 14 ans il y a | 0

Réponse apportée
A good way to publish simulink values to GUI from a running model?
This is a good approach. However with just that, your GUI will need a mechanism to poke at the model to get the data. I wo...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Smart way to limit motions in Simulink model
Very good question. I would say that it depends on what you mean by "smoother" I see 2 options to implement limits: - ...

environ 14 ans il y a | 3

| A accepté

Publié le


Fine-Tuning Model Advisor Analysis
Today I welcome my friend Nishaat Vasi to introduce a new feature of Simulink Verification and Validation: Model Advisor...

environ 14 ans il y a

Thumbnail

Publié le


Estimating Continuous-Time Transfer Functions with System Identification Toolbox
Today guest blogger Pravallika describes how she used new features of the System Identification Toolbox to design a...

environ 14 ans il y a

Thumbnail

Publié le


Normal Mode Simulation in Real Time
In R2012a, Real-Time Windows Target offers two modes for executing Simulink models in real time: The classic External Mode...

environ 14 ans il y a

Thumbnail

Réponse apportée
Invalid dimensions encountered while propagating dimensions from output port of Mux to...
This sort of error can happen for 2 reasons: Simulink misses information to propagate dimensions properly OR the dimensions you ...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Simulink Counter
You say: "I wish to use the clock in a user defined function" What about using the "clock" function: http://www.mathwor...

environ 14 ans il y a | 0

Réponse apportée
Integrator in simulink
Here is how to do it: http://www.mathworks.com/help/toolbox/simulink/slref/integratorlimited.html

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Problem with controlled pneumatic pressure source
It is difficult to give an accurate answer without seeing the model. Is it possible that, at one node, you have a volume with...

environ 14 ans il y a | 0

Réponse apportée
Nonlinear equations within Simulink Coder
You can generate code for models with non-linearities. For example generate code for a model with a saturated integrator... ...

environ 14 ans il y a | 1

Réponse apportée
Differential equation in embedded block in simulink ?
If you need to generate code and consequently use the EML block, you might want to use the trick described here: http://www.m...

environ 14 ans il y a | 2

Réponse apportée
Active circuit transfer functions in terms of variables?
See my article here on this topic: http://blogs.mathworks.com/seth/2011/03/08/how-do-i-change-a-block-parameter-based-on-the-...

environ 14 ans il y a | 0

Réponse apportée
2d plot from simulink too GUI axes
Register an Event Listener to send the data to ghe GUI everytime the block output is updated: http://www.mathworks.com/help/t...

environ 14 ans il y a | 3

| A accepté

Charger plus