Respondida
How to model -Force on piston in MATLAB simulink -Simscape
If you have only Simscape, you can use a <http://www.mathworks.com/help/physmod/simscape/ref/translationalhydromechanicalconvert...

casi 10 años hace | 1

Respondida
How can I change the build folder of a model?
You can do this using the Simulink preferences or the |Simulink.fileGenControl| function. Take a look at this blog: http://bl...

casi 10 años hace | 1

Respondida
How do I determine the number of items (buses, components, lines, etc.) in a SimPowerSystem model?
You can use the |power_loadflow| function to get a structure of data: LF = power_loadflow('-v2',modelName) The sizes of ...

casi 10 años hace | 0

Respondida
How to export data from bode in Linear Analysis Tool
The linearized model should show up in the "Linear Analysis Workspace" section on the left of the Linear Analysis tool. The defa...

casi 10 años hace | 1

| aceptada

Respondida
How to read first 5 characters of string
I would do that with |regexprep| (REGular EXPression REPlace), which is not the easiest thing to pick up. Definitely look at the...

casi 10 años hace | 1

Respondida
Dynamics Simulation Inconsistencies in SimMechanics Model
This makes sense, actually. Have you made any connection between the angular velocity of the motor and the thrust provided? SimM...

casi 10 años hace | 0

Respondida
how to find the number of Block outport in a model
You can use the |find_system| function to search. To get all the blocks at your current hierarchy level, for example, you can...

casi 10 años hace | 1

| aceptada

Respondida
i am using simulink to solve a system of second order ODE of passive vehicle suspension system. my simulink scope directly connected to sinewave block doesnt show a sine curve.
If you look at the scope's time axes, notice that it's going from 9.995 to 10 seconds. By default, the Scopes have a logging ...

casi 10 años hace | 0

| aceptada

Respondida
Using simullink in High School
An example you can start with is the |sldemo_househeat| model, which models the heating logic for a simple thermal model of a ho...

casi 10 años hace | 1

Respondida
Ideal Torque and Rotational Motion Sensors
The setup of Through/Across looks correct. The problem may be with that "Goto" block. By default, Goto blocks have a "tag vis...

casi 10 años hace | 0

| aceptada

Respondida
Thermal mass with dynamic reference
I think you should use the Simscape language and customize the equations of the Thermal Mass block to get what you want. The bui...

casi 10 años hace | 1

Respondida
Why is fluid inertia with ideal flow source in Simscape possible and why are there no pressure peaks?
Looks like the solver isn't seeing the discontinuity in the step signal. As a sanity check, I tried replacing the step with a...

casi 10 años hace | 1

| aceptada

Respondida
Multiple times of execution of PID controller in a single loop (Simulink)
That PID Controller block is Continuous, so it will execute whenever the model solver decides to take a time step. If you're usi...

casi 10 años hace | 0

Respondida
Summation formula of two variables using vectorization
You should be able to do: sum(G(fm).*cos(2*pi*fm*t - pi*fm*T)) ... assuming that |G(x)| is a function whose output is al...

casi 10 años hace | 0

Respondida
Step response for a DC motor with a transient load
Depends on how you want to model this system. Assuming you want to stay in MATLAB and are not looking at Simulink, If you wan...

casi 10 años hace | 0

| aceptada

Respondida
simulink mask callback adding variables to workspace
You can take all that initialization code and move it from a block callback to the "Initialization" tab of the Mask Editor. The ...

casi 10 años hace | 0

| aceptada

Respondida
How to connect solenoid to a system in Simulink
The Solenoid block is a Simscape based block, so you need interface blocks to connect to Simulink blocks... ... but before we...

casi 10 años hace | 0

| aceptada

Respondida
simulink mask text cannot access matlab workspace
Masks, by design, have their own separate workspace so there is no conflict between internal variables to a block and anything y...

casi 10 años hace | 1

| aceptada

Respondida
My simscape model will not run.
This can happen when you have an <http://www.mathworks.com/help/simulink/ug/algebraic-loops.html algebraic loop> in Simulink. Th...

casi 10 años hace | 1

Respondida
Simulink model execution doesn't follow the flowgraph.
This makes sense because your block has an integrator before it. Since the integrator, at each time step, will use the last valu...

casi 10 años hace | 0

Respondida
how to generate one signal from a vector data in simulink
My understanding if your question is that you want those 10 values to make up one period of a periodic waveform, right? If so...

casi 10 años hace | 2

| aceptada

Respondida
sample error in simulink if else statement
Conditionally executed subsystems like your "If" block are not guaranteed to execute at every time step. According to your er...

casi 10 años hace | 0

Respondida
Error while using function block in simulink
This is an algebraic loop, which means that the output of the block depends directly on the input. In this case, |y| cannot b...

casi 10 años hace | 1

Respondida
Joint_states Publisher.
The |receive| function waits up to N (10, 100, etc.) seconds to receive the NEXT incoming message in the stream -- it is not mea...

casi 10 años hace | 0

Respondida
Hello everybody,i like know the step to create a new block with the Simscape Language????
Have you looked at this documentation page? http://www.mathworks.com/help/physmod/simscape/lang/creating-custom-components.ht...

casi 10 años hace | 0

| aceptada

Respondida
How can I make a pack of resistors and capacitors into one unit in Simscape?
There's two ways you can do this. The first way is to connect the resistor and capacitor blocks in whichever way you want and...

casi 10 años hace | 0

| aceptada

Respondida
Create bus object from existing manually created bus in simulink
There's a function for this! http://www.mathworks.com/help/simulink/slref/simulink.bus.createobject.html - Sebastian

casi 10 años hace | 0

| aceptada

Respondida
Realise a equivalent frequency dependent impedance in SimPower Systems
If all you have is impedance measurement data, I'd suggest looking into the System Identification Toolbox if you have access to ...

casi 10 años hace | 0

| aceptada

Respondida
Why does linearizing a model in different simulink versions give a different result?
Does the model, by any chance, use Simscape blocks (or any of its add-on products)? In R2014a, the Simscape blocks' initial c...

casi 10 años hace | 0

Respondida
Simulink Plot for damping ratio of second order systems
Many Simulink blocks support multidimensional signals. If you enter an array for the Gain (?) block where your damping ratio ...

casi 10 años hace | 0

Cargar más