Risposto
stiffness problem / Trying to use ode1 (Euler) in Simulink
I would verify if the robot starts in a singular configuration. If you invert D, I guess this is because D is the manipulator...

oltre 14 anni fa | 0

Risposto
Save a value to variable (Simulink)
Use the Selector block: http://www.mathworks.com/help/toolbox/simulink/slref/selector.html You will be able to select rows...

oltre 14 anni fa | 1

| accettato

Risposto
How can I return from simulink to matlab thread?
SIM is blocking, it will return to your script only when the simulation terminates. If you want to start a simulation from co...

oltre 14 anni fa | 1

| accettato

Risposto
Hydraulic Gas-Charged Accumulator
The only thing I can guess based on your description is that you have something connected wrong. Did you look at the demo "sh...

oltre 14 anni fa | 1

Risposto
State Space Representation of a Custom Simscape Component
Interesting... I never tried combining states with different units into a vector. Since your example is a simple linear sprin...

oltre 14 anni fa | 0

Pubblicato


How to Load and Save Bus Signal Data
In R2012a, the From Workspace, To Workspace, From File and To File blocks all support bus signals. This is an often...

oltre 14 anni fa

Thumbnail

Risposto
Using if/action blocks within an algebraic loop?
As you figured out, the algebraic loop solver uses a gradient descent method to solve the loop. The If/Else construct causes a d...

oltre 14 anni fa | 0

| accettato

Pubblicato


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

oltre 14 anni fa

Thumbnail

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 1

| accettato

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 9

Pubblicato


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

oltre 14 anni fa

Thumbnail

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 2

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

oltre 14 anni fa | 0

Pubblicato


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

oltre 14 anni fa

Thumbnail

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

oltre 14 anni fa | 1

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

oltre 14 anni fa | 1

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

oltre 14 anni fa | 1

| accettato

Pubblicato


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

oltre 14 anni fa

Thumbnail

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

oltre 14 anni fa | 1

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 1

| accettato

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

oltre 14 anni fa | 3

| accettato

Pubblicato


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

oltre 14 anni fa

Thumbnail

Pubblicato


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

oltre 14 anni fa

Thumbnail

Pubblicato


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

oltre 14 anni fa

Thumbnail

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

oltre 14 anni fa | 1

| accettato

Carica altro