Answered
Model Referencing Pane properties in ( 2015b) matlab
In my original post, I did not mean the "Model Referencing" options in the configuration parameters. There is a Simulink bloc...

10 years ago | 0

| accepted

Answered
How to simulate an empty initial volume in Simulink - Thermal Liquid Library ?
It's not easy to model an empty thermal liquid container with the built-in blocks, and would likely require some serious customi...

10 years ago | 1

Answered
How to compare two different columns with a value to check all have same values.
You could use the |all| function to perform a comparison with 1 for all elements. For a single row, it would be if all(x...

10 years ago | 0

Answered
How to create series resistor with Simscape elements without SimElectronics?
The two black blocks in your picture come from *SimPowerSystems* -- namely the "Specialized Technology" sub-library. The blue...

10 years ago | 0

Answered
Slowing down the simulation in simulink
You can use the Real-Time Pacer entry on the File Exchange, if "soft" real-time using your CPU clock is fine. http://www.math...

10 years ago | 0

Answered
I want to tune PID controller by using Genetic algorithm in simulink, if anybody knows pls help me.....
If you have Simulink Design Optimization, you can assign the gains of the PID controller as variables and use them in a <http://...

10 years ago | 0

Answered
step up dc to dc converter for grid connected renewable
SimPowerSystems has a built-in demo of a wind farm model with a DC-DC boost converter: http://www.mathworks.com/help/physmod/...

10 years ago | 0

Answered
how to design LQR controller with time-variable parameters ?
Yes, a MATLAB Function block would indeed do the trick. Suppose you make a function: function output = myLQR(error,param) ...

10 years ago | 0

| accepted

Answered
How do I calculate phase angle for a power system with a changing frequency?
Have you tried using a PLL block instead? PLLs are used for just this -- variable-frequency situations where you need to keep tr...

10 years ago | 0

Answered
How to model a magnetic force in sim mechanics
I would implement the force from scratch using * *Transform Sensor* block: To measure the relative position between the two c...

10 years ago | 0

Answered
How I can I add a drop down menu to simulink?
Take a look at this link in the documentation: http://www.mathworks.com/help/simulink/ug/adding-items-to-model-editor-menus.h...

10 years ago | 1

Answered
How to set the configuration of Powergui FFT analysis tool by code ?
The |power_fftscope| function doesn't access the actual user interface. It simply provides a command-line interface to perform t...

10 years ago | 0

| accepted

Answered
Can I force Simulink integrator blocks to have very small time steps?
If you go to the Solver pane of the model's Configuration Parameters, there should be a "Max step size" option underneath the so...

10 years ago | 0

| accepted

Answered
State space to transfer function conversion and vice versa
This can happen and is completely expected. Transfer functions are defined as the relationship between inputs and outputs, wh...

10 years ago | 0

Answered
Simulink: resistor with variable resistance during simulation
The approach that Yuebin above proposed is good if you're using Simscape, SimElectronics, or the SimPowerSystems Simscape Compon...

10 years ago | 0

Answered
right eigenvector corresponding to an eigenvalue 1
As the documentation for the |eig| function says: _|[V,D] = eig(A)| returns diagonal matrix |D| of eigenvalues and matrix |V|...

10 years ago | 3

| accepted

Answered
Simulink subsystem with electric circuits?
There is also a <http://www.mathworks.com/help/physmod/simscape/ref/controlledvoltagesource.html Controlled Voltage Source> bloc...

10 years ago | 0

| accepted

Answered
model a heavy truck coolant loop
Have you seen this example? http://www.mathworks.com/help/physmod/simscape/examples/engine-cooling-system.html - Sebastian...

10 years ago | 0

Answered
Is SimMechanics suitable for Models with a lot of contact force?
@ Philipp: How is your contact modeled? Is it with spring/damper forces? If so, you want to make sure the springs aren't too sti...

10 years ago | 1

| accepted

Answered
SimMechanics Link with Solidworks problem
There's a common pitfall I always run into, which is that the SimMechanics Link menu shows up only when you have an assembly (.S...

10 years ago | 2

Answered
More on PSAT
<http://faraday1.ucd.ie/psat.html PSAT> is not a MathWorks tool -- it is developed by a third-party author. This is likely why y...

10 years ago | 1

| accepted

Answered
Viewing liquid temperatures in SimScape
The *Simscape > Foundation Library > Thermal Liquid > Sensors* library should have a "Pressure & Temperature Sensor (TL)" block....

10 years ago | 1

| accepted

Answered
How to interconnect SimPowerSystems with SimHydraulics blocks?
If possible, I'd stick to using the DC Motor block in SimElectronics instead... or any block from the <http://www.mathworks.com/...

10 years ago | 1

| accepted

Answered
How do I search a Simulink Model for a variable?
You can right-click a model and select "Find Referenced Variables". This will take you into the Model Explorer tool (you can ...

10 years ago | 0

Answered
Implementing time varying state matrices in simulink?
I would suggest the approach discussed in this Answer: http://www.mathworks.com/matlabcentral/answers/229257-how-to-save-calc...

10 years ago | 0

Answered
I am not able to compile Simscape current sensor.
It may be that the initial conditions (initial current and/or voltage) of the Resistor are set up so that they conflict with the...

10 years ago | 1

Answered
How to find step response for variable transfer function?
Well, first off let's do this with an individual parameter. % Parameters K = 1; T = 1; L = 1; % Create the sy...

10 years ago | 0

Answered
Regarding body position sensing in simmechanics 2nd gen
You can get a <http://www.mathworks.com/help/physmod/sm/ref/transformsensor.html Transform Sensor block> and connect it between ...

10 years ago | 0

| accepted

Answered
Can we modify Simulink.Signal properties?
You can create your own class that inherits from |Simulink.Signal| and adds any additional properties/methods you might need. ...

10 years ago | 0

| accepted

Answered
Is there a simple way to count zeros in vector in Simulink?
You should be able to use that same MATLAB expression inside a MATLAB Function block. http://www.mathworks.com/help/simulink/...

10 years ago | 0

Load more