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

14 years ago | 0

| accepted

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

14 years ago | 2

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

14 years ago | 0

Published


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

14 years ago

Thumbnail

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

14 years ago | 1

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

14 years ago | 1

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

14 years ago | 1

| accepted

Published


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

14 years ago

Thumbnail

Answered
simulink feedback error
In the dialog of the Inport, try to latch the input signal. Otherwise, introduce a delay in the loop.

14 years ago | 1

| accepted

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

14 years ago | 0

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

14 years ago | 1

| accepted

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

14 years ago | 3

| accepted

Published


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

14 years ago

Thumbnail

Published


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

14 years ago

Thumbnail

Published


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

14 years ago

Thumbnail

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

14 years ago | 1

| accepted

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

14 years ago | 0

Answered
Integrator in simulink
Here is how to do it: http://www.mathworks.com/help/toolbox/simulink/slref/integratorlimited.html

14 years ago | 0

| accepted

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

14 years ago | 0

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

14 years ago | 1

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

14 years ago | 2

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

14 years ago | 0

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

14 years ago | 3

| accepted

Published


Legends for Simulink Scopes
Today my colleague Roshin Kadanna Pally is back to talk about additions he made to the Simulink Scope in R2012a. Legends...

14 years ago

Thumbnail

Answered
Accessing inputs to a masked block from the mask initialization
I explain here why what you are trying to accomplish is probably a bad idea: http://blogs.mathworks.com/seth/2011/03/08/how-d...

14 years ago | 0

| accepted

Answered
How to solve a differential equations' system in SIMULINK
What you describe sounds correct. The following posts gives a good example of how to draw ODEs in Simulink: http://blogs.math...

14 years ago | 1

| accepted

Published


Running Simulink models on LEGO MINDSTORMS NXT
As you probably already know, MATLAB R2012a is now available for download! One of my favorite feature in this release is...

14 years ago

Thumbnail

Published


Sous-vide Cooking with Simulink Part 2
Here is the continuation of my sous-vide cooking story I began to tell in the last post. Hardware Implementation As...

14 years ago

Thumbnail

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

14 years ago

Answered
change the color of an input port from a callback function
yes, use set_param.

14 years ago | 0

| accepted

Load more