解決済み


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

14年以上 前

解決済み


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

14年以上 前

回答済み
Problem with "initial conditions failed to converge" when connecting rotational to translational system
I looked at the model you linked, but the custom file is missing, like the parameter values. Adding stiffness and damping ma...

14年以上 前 | 0

回答済み
Integrate in embedded matlab function
If your EML block is continuous, I recommend outputting the "dx" signal, feed it to an Integrator block and connect the output o...

14年以上 前 | 0

回答済み
Difference between decimation and sample time
Decimation: The scope will show only 1 point every X time steps. Whatever the rate of the input signal, with a decimation of 5, ...

14年以上 前 | 1

| 採用済み

公開済み


Advanced S-function Techniques: Scheduling Future Events
Today I will describe how to use a variable sample time s-function to schedule events in the future. This topic is fairly...

14年以上 前

Thumbnail

回答済み
Systems of Differential Equations
Seth published a good post on this topic: http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/

14年以上 前 | 0

| 採用済み

回答済み
Problem with "initial conditions failed to converge" when connecting rotational to translational system
Your code looks good. I think that the issue is that it often (depending on how it is connected) lead to index-2 DAE. The eq...

14年以上 前 | 2

回答済み
Simulink Feedback Loop (Function-Call feedback Latch)
The "Function-Call feedback latch" option is available only if the Inport is inside a function call subsystem. If you want a del...

14年以上 前 | 0

回答済み
Replacement for simset?
The main reason why the 'SrcWorkspace' is not documented anymore is because it is not compatible with the parallel toolbox. T...

14年以上 前 | 0

| 採用済み

回答済み
Finding the velocity from displacement
I like to use a filtered derivative to do that. A transfer function in the form s/(tau*s+1)^2 with the right "tau" will give...

14年以上 前 | 0

回答済み
How to include fluid inertia in a pipe that oscillates linearly in Simscape/SimHydraulic
With SimHydraulics, the Segmented Pipeline block should help. It simulates a hydraulic pipeline with resistive, fluid inerti...

14年以上 前 | 0

公開済み


Model-Based Design of a Dicycle
The other day I found this video: If you watch carefully, you will see around 1:50 that they used Simulink to design...

14年以上 前

Thumbnail

回答済み
Units problem during STL file importing
Is it possible that you are affected by this bug: http://www.mathworks.com/support/bugreports/675606 If not, please contac...

14年以上 前 | 0

| 採用済み

回答済み
[Simulink] Discrete equivalent of variable transport delay
The Delay block should do the job: http://www.mathworks.com/help/toolbox/simulink/slref/delay.html You will need to enable...

14年以上 前 | 0

回答済み
Simulink and Variable Sized Global Variables
Simulink supports variable size signals. However you need to specify a maximum size. This topic is covered here: http://ww...

14年以上 前 | 0

回答済み
simmechanics model
There is no block in SimMechanics to direction compute friction forces between wheels and ground. Typically, what you need to...

14年以上 前 | 0

| 採用済み

回答済み
DriveLine Environment Error
There can be many causes for this error. One example is if there is no mass in your system. Simulink will try to solve "F=ma"...

14年以上 前 | 0

| 採用済み

公開済み


Frames… from signals to blocks
Today I want to talk about an important topic for DSP System Toolbox and Communications Toolbox users: Frame-Based...

14年以上 前

Thumbnail

公開済み


Model-Based Design Dilemma
I am currently working on a model and I have a dilemma. There are two ways I could model my system. I need you to tell me...

14年以上 前

Thumbnail

回答済み
inserting code in sim-mechanics model
Use Sensor blocks to measure the motion (position, velocity, acceleration of bodies and joints). In Simulink implement any funct...

14年以上 前 | 1

| 採用済み

回答済み
Simulink - Forward Euler Backward Euler
This really looks like you are affected by the following bug: http://www.mathworks.com/support/bugreports/326058 Try setti...

14年以上 前 | 1

回答済み
I need to detect the zero voltage for switching on the mosfet .i am currently working on quasi resonant converter.do anyone have an idea on how to detect the zero voltage crossing using simulink blocks?
The Hit Crossing block is designed especially to detect zero-crossing. http://www.mathworks.com/help/toolbox/simulink/slref/h...

14年以上 前 | 1

| 採用済み

回答済み
algebraic loop
I recommend taking the time to go through the algebraic loop section of the doc: http://www.mathworks.com/help/toolbox/simuli...

14年以上 前 | 0

公開済み


Mixed-signal modeling with Simulink
If you’re a mixed-signal engineer, we have a Christmas present for you – a new library of mixed-signal blocks and demos...

14年以上 前

Thumbnail

公開済み


Welcome to the Linear Analysis Tool!
Today I am happy to welcome back guest blogger Erman Korkut to talk about the new Linear Analysis Tool. Linear...

14年以上 前

Thumbnail

公開済み


Simulink Student Challenge Results
Do you remember that a few months ago Seth posted a video to launch the first Simulink Student Challenge? We are...

14年以上 前

Thumbnail

公開済み


Initializing buses using a MATLAB Structure
Did you notice that since R2010a it is possible to initialize buses with a MATLAB structure? If you were not aware, here is...

14年以上 前

Thumbnail

回答済み
problem with sine-wave and scope component in simulink
You might be interested by that: http://blogs.mathworks.com/seth/2009/07/14/refining-the-output-of-a-simulation/

14年以上 前 | 1

回答済み
Integrator problem
This is probably because the input signal is different during minor steps. You can confirm that by trying: - Try ode1 solver....

14年以上 前 | 0

| 採用済み

さらに読み込む