Answered
Are sensor blocks in Simscape supposed to affect the system dynamics?
What do you mean when you say "affecting system dynamics"? Simscape is basically a multi-domain circuit simulator, so the w...

11 years ago | 0

Answered
Problem in PWM block
Hi Abhay, The PWM Generator block you placed in configured by default for three-phase systems -- therefore, it expects a 3-el...

11 years ago | 0

Answered
Simulink algebraic loop matlab function error
Dylan, Algebraic loops happen in these situations where the output of your block directly depends on the input. If you're ...

11 years ago | 0

Answered
how to interface CAD model with simhydraulics and simulate it
Sagar, The <https://www.mathworks.com/products/simmechanics/download_smlink.html SimMechanics Link> add-on is free and lets y...

11 years ago | 0

| accepted

Answered
Can I obtain a matrix representation of a circuit from a SimPowerSystems model?
Hi Diarmaid, The <http://www.mathworks.com/help/physmod/sps/powersys/ref/power_statespace.html power_statespace> function can...

11 years ago | 0

| accepted

Answered
IEEE 18 bus system simulink model
SimPowerSystems has shipping examples for 5-bus and 29-bus systems... 18 is somewhere in between :) >> power_LFnetwork_5bus...

11 years ago | 0

Answered
How can I use Data Store Read for global data stored in a Simulink Data Dictionary?
Hi Jonathan, I just tried this out in R2014a and it worked fine for me. Maybe take a look at the attached files and see if t...

11 years ago | 0

Answered
I am having issues trying to generate the code of my program. How do I fix this?
Hi Lewis, First of all -- are you building a model in accelerator or rapid accelerator mode? Given that you're using a varia...

11 years ago | 1

Answered
how to load excel or notepad data into simulink
Absolutely! You can use all kinds of <http://www.mathworks.com/help/matlab/data-import-and-export.html MATLAB functions> to l...

11 years ago | 0

Answered
why figures in simulation data inspector are not editable?
Mahdi, It is by design that we let MATLAB do what MATLAB is good at. The easiest thing to get your SDI plot customized is to...

11 years ago | 0

Answered
How to recognize Stateflow blocks using Simulink API (get_param)?
Hi Wojciech, The most straightforward way to find Stateflow Chart blocks is by using the Stateflow API. For example, the fol...

11 years ago | 2

| accepted

Answered
Load a graphic STL file saved in a Object in a Simulink solid block.
Yes, you can use STL or STEP files for visualization. Note that STEP files are new in R2014a, but they give you the advantage o...

11 years ago | 1

Answered
How to call a script BEFORE opening a Simulink subsystem?
Kurt, I'd like to step back a little, if that's okay. 1. There is a display option on Simulink models that visual cues (ba...

11 years ago | 1

Answered
[Simulink] Output only non-zero values
You could try putting an <http://www.mathworks.com/help/simulink/ug/enabled-subsystems.html Enabled Subsystem> after the output ...

12 years ago | 2

Answered
How to convert from the old SimDriveline version to the new SimDriveline Version?
Yes -- you can use the <http://www.mathworks.com/help/physmod/sdl/ref/sdl_update.html sdl_update> function to do this.

12 years ago | 0

Answered
How to design a customized sample based signal in Simulink?
Hi Venkat, You can do this by creating a custom <http://www.mathworks.com/videos/creating-and-masking-subsystems-69025.html b...

12 years ago | 0

| accepted

Answered
Detect spikes and mark times
You can pick out the values of these spikes using a Triggered Subsystem. What I've done in the screenshot below is: * Use ...

12 years ago | 0

Answered
Startup from top Simulink model
First of all, the model opens up wherever your view was (both location and zoom level) when you last saved it. A good best prac...

12 years ago | 1

Answered
How can I control fluid temperature in SimHydraulics?
SimHydraulics does not model the effects of temperature changes on liquids. You basically set up the liquid to operate at a par...

12 years ago | 0

Answered
System Identification of MIMO
You can perform System Identification on a MIMO system, as shown in this example. If you already have a model in SimMechanics, ...

12 years ago | 1

Answered
Algebraic loop within SimMechanics
The algebraic loop is created when you measure something in SimMechanics and directly feed it back as an input to the same physi...

12 years ago | 0

Answered
How can I use 4 parallel springs in Simmechanics 2nd Generation?
The issue here seems to be that you have 4 Bearing Joint blocks connected in parallel, and they all seem to have conflicting ini...

12 years ago | 0

Answered
Dynamic Gui, Simmechanic, Simscape question
Sure there is! This <http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/ blog post> and this <http...

12 years ago | 0

Answered
MATALAB function in simulink
Do you need this to be MATLAB code? If so, you can use a <http://www.mathworks.com/help/simulink/slref/matlabfunction.html MATL...

12 years ago | 0

| accepted

Answered
Complex signal mismatch error In three phase measurement inside the wind turbine induction generator
Walid, I am assuming the block in question is the "Wind Turbine Induction Generator (PHASOR TYPE)" block in the Renewable Ene...

12 years ago | 0

Answered
How can I trigger an action when a signal exceeds a threshold for a certain time?
Time-based logic like what you described is best suited for Stateflow, if you have access to that. Your algorithm can enter a...

12 years ago | 2

| accepted

Answered
I am confuse between working of powergui and simulink solver. Are they work separately or simultaneously, when we run model containing simulink and simpowersystem blocks.
Shrikant, powergui specifies the behavior of only the SimPowerSystems blocks in your system. It's equivalent to specifying, ...

12 years ago | 6

| accepted

Answered
Simulink compatibility issue between r2011a and r2011b
The reason for these crashes has to do with how Simulink handles MATLAB Function blocks when the 'run' button is hit. C code is ...

14 years ago | 3