Answered
Splitting Vector Elements in Simulink
Try using a <http://www.mathworks.com/help/simulink/slref/selector.html Selector block> instead, from the same library as the De...

11 years ago | 4

Answered
testing of system identification process?
You can use the <http://www.mathworks.com/help/control/ref/lsim.html lsim> function to simulate the transfer function under some...

11 years ago | 0

| accepted

Answered
i have a power system modeled in simulink. i want to use the power_analyze function in simulink. Is there any way that i can use this function?
You can use <http://www.mathworks.com/help/simulink/slref/coder.extrinsic.html coder.extrinsic> to declare |power_analyze| as a...

11 years ago | 1

Answered
Updating property of an Object without creating new object
When you create a class in MATLAB, it is by default a value class. If you want to update objects by reference, you should make t...

11 years ago | 27

| accepted

Answered
Raw data as an input in Simulink
One way to load data into a Simulink model is by opening up the Model Configuration Parameters (Ctrl+E) and going to the <http:/...

11 years ago | 0

Answered
Two Mass Spring System PID Control
You could do many things to address this: * As you said, use a different output matrix like |[1 -1 0 0]|. This may work depen...

11 years ago | 0

Answered
Bode Plots - Changing Line Styles
You should use the line style in the bode (or bodemag) function itself, as follows: >> sys1 = rss(2); >> bodemag(sys1,'b...

11 years ago | 0

| accepted

Answered
How can I define electrical label like "+12V" in simscape
Simscape doesn't have general-purpose "Goto" and "From" tags like Simulink does. Since you mentioned "+12V" specifically, I c...

11 years ago | 1

| accepted

Answered
Event triggered subsystems in Simulink
Joseph, You could use <http://www.mathworks.com/help/simulink/ug/about-conditional-subsystems.html conditional subsystems,> w...

11 years ago | 0

| accepted

Answered
Function 'tic' is not supported for code generation
You can use <http://www.mathworks.com/help/simulink/slref/coder.ceval.html coder.ceval> to call an external function. To impleme...

11 years ago | 0

Answered
Absolute and Relative Tolerances
These are tolerance metrics used by variable-step solvers in Simulink. They are used to answer the question: "should the solver ...

11 years ago | 0

| accepted

Answered
finding forces exerted by the body
Can't you use a <http://www.mathworks.com/help/physmod/sm/mech/ref/jointsensor.html Joint Sensor> block? <http://www.mathwork...

11 years ago | 0

Answered
Effect of "Simulation stop time" to transfer function
You likely have your solver's time step specified as "auto". By default, Simulink will pick 1/50 of the total simulation time......

11 years ago | 0

Answered
Does anyone know how to display my robot end-effector trajectory in simmechanic 2nd gen Mechanical explorer window ?
Unfortunately, you can't display trajectories directly on the Mechanics Explorer window. This is something that I'm sure our dev...

11 years ago | 0

Answered
How to connect simscape elements and simulink/simpower system elements in matlab 2010?
In R2011b, SimPowerSystems (SPS) includes some interface blocks that do the work for you. However, you should still be able to d...

11 years ago | 1

Answered
Timer function and standalone display issues
If your timer takes much longer to compute than the period you allow it, I can see why MATLAB would hang up and never be able to...

11 years ago | 0

| accepted

Answered
How to generate matlab code in a simulink block
Sure you can, with the MATLAB Function block: http://www.mathworks.com/help/simulink/ug/creating-an-example-model-that-uses-a...

11 years ago | 0

Answered
Does anyone have 3/4/5/6 bus sytem using sim power system ?
This <http://www.mathworks.com/help/physmod/sps/examples/initializing-a-5-bus-network-with-the-load-flow-tool-of-powergui.html 5...

11 years ago | 0

| accepted

Answered
How to model a free multibody in simmechanics?
Did you modify the <http://www.mathworks.com/help/physmod/sm/ref/mechanismconfiguration.html Mechanism Configuration> block incl...

11 years ago | 0

Answered
How to generate random pulse using Matlab/simulink?
There are many blocks in the Simulink <http://www.mathworks.com/help/simulink/sources.html Sources> library to do this. * If ...

11 years ago | 1

Answered
head detection from video frames
Have you seen this link? http://www.mathworks.com/discovery/face-recognition.html

11 years ago | 0

Answered
Transfer function fitting from ASCII-data file
If you have System Identification Toolbox, you can package up the frequency + complex response data in an <http://www.mathworks....

11 years ago | 0

| accepted

Answered
Pneumo-Hydraulic Actuator mechanical ports
Hi Alex, 1. You are right. The L port is equivalent to the R port in a traditional Mechanical Simscape block. If you want acc...

11 years ago | 0

| accepted

Answered
How to save the last value of a simulation in a .mat ?
Hello Aurelien, Have you looked into saving a <http://www.mathworks.com/help/simulink/ug/saving-and-restoring-the-simulation-...

11 years ago | 0

Answered
Algebraic loop error in Matlab Simulink
Have you seen <ttp://www.mathworks.com/matlabcentral/answers/95310-what-are-algebraic-loops-in-simulink-and-how-do-i-solve-them ...

11 years ago | 0

| accepted

Answered
hello every one, i got an error in simulation during running. please help me out how can i rectifies that error, it is a closed loop . the error is as shown in the BODY
Have you seen <ttp://www.mathworks.com/matlabcentral/answers/95310-what-are-algebraic-loops-in-simulink-and-how-do-i-solve-them ...

11 years ago | 0

Answered
How to connect PS Product
Hi Billy, The PS Product block is only for physical signals that come out of Simscape sensor blocks. What you have coming out...

11 years ago | 0

Answered
Is it possible to change Simulink Default Font?
I believe you can use the Simulink preferences to change the default fonts for new models. Does <http://www.mathworks.com/hel...

11 years ago | 2

Answered
Simulink algebraic loop unsolved
The reason the output (and not the input) affect your algebraic loop is related to the definition of <http://www.mathworks.com/m...

11 years ago | 2

Answered
Data Dictionary and Model Parametrization
Hi Florian, I'll give these questions a try. *1.* The Data Dictionary is intended to completely replace the base workspace...

11 years ago | 0

| accepted

Load more