답변 있음
SimMechanics - Spherical Joint "kinematic constraint cannot be maintained"
Open the loop by removing one of the joints. Then connect one sensor on each CS that was connected to the loop. Simulate for 0 s...

11년 초과 전 | 1

답변 있음
Create an internal loop in Simulink simulation
It looks like you need the While Iterator Subsystem: http://www.mathworks.com/help/simulink/slref/whileiteratorsubsystem.html...

11년 초과 전 | 0

답변 있음
A resettable Delay in SIMULINK
If you signal is discrete, the Delay block allos you to delay it form a number of samples coming form an input signal: http:/...

11년 초과 전 | 1

답변 있음
mfile version of Simulink integrator
This should get you started: http://en.wikipedia.org/wiki/Bogacki%E2%80%93Shampine_method You might also be interested to ...

11년 초과 전 | 0

답변 있음
What is the difference between using Data Store Blocks & Delay block to avoid algebraic loop error
The performance is the same and both options are computationally equivalent. In my opinion here what should guide your choice is...

11년 초과 전 | 0

| 수락됨

답변 있음
find_system versus Simulink.findVars
Simulink.findVars returns a list of simulink.variableusage objects. http://www.mathworks.com/help/simulink/slref/simulink.var...

11년 초과 전 | 0

| 수락됨

답변 있음
changing matrix dimension in simulink circuit gives an error....
Specify the dimensions of the ports of the MATLAB function blocks... it will help the engine to propagate the correct dimensions...

11년 초과 전 | 0

답변 있음
continuous integrator vs discrete-time integrator
What you observe is expected. Different blocks... different results ;-) Use Scope blocks to understand the evolution. As y...

11년 초과 전 | 0

| 수락됨

답변 있음
Systematically pause Simulink model and continue from Matlab command line
In most cases where I have seen users asking to control the execution of a model from MATLAB code, the most appropriate solution...

11년 초과 전 | 0

답변 있음
Inverse Dynamics is SimMechanics
SimMechanics First Generation can handle inverse dynamics (specifying motion and measure force/torques). Since R2012a, SimMe...

11년 초과 전 | 0

| 수락됨

답변 있음
How to measure force in SimMechanics second generation?
This is not directly possible in R2013a. We are working on that for a future release. As a workaround, you can actuate the de...

11년 초과 전 | 0

답변 있음
Understanding the rate transition block in realtime windows target
The "scheduling" chapter of he Simulink Coder documentation will explain you how to control ow the execution of a slow task can ...

11년 초과 전 | 0

| 수락됨

답변 있음
Can I modify how a native Simulink block is auto-coded?
The Code Replacement Library seems to be what you are looking for. See this example: http://www.mathworks.com/help/coder/exam...

11년 초과 전 | 0

| 수락됨

답변 있음
Supported Matlab Functions in Simulink
Use coder.extrinsic if you do not need to generate code.

11년 초과 전 | 0

| 수락됨

답변 있음
Simulink Problem: Derivative input is Inf
Use the Simulink debugger to identify where the Inf or NaN originates. There is a "NaN" breakpoint.

11년 초과 전 | 1

| 수락됨

답변 있음
How to pass from [1x1] to single signal 1 in Simulink?
To go from [1x1] to 1 and vice-versa, use the Reshape block: http://www.mathworks.com/help/simulink/slref/reshape.html To...

11년 초과 전 | 0

| 수락됨

답변 있음
Is there any way to disable code generation in Simulink
Wrap your whole script in a separate MATLAB-file and make it extrinsic so that your MATLAB Function code look like: %%% func...

11년 초과 전 | 6

| 수락됨

답변 있음
How to decatenate or discatenate (opposite of concatenate) a vector in simulink?
Use the Selector block

11년 초과 전 | 0

답변 있음
In a For Iterator Subsystem, how to use the iteration variable ?
The iteration variable is a signal coming out of the For Iterator block. Inside the subsystem, you can use a Selector block:...

11년 초과 전 | 0

답변 있음
Initial condition for Memory block with TRIM (Linear Analysis Tool)
The Memory block has an option "Direct feedthrough of input during linearization" if you do not want to initialize it during lin...

11년 초과 전 | 0

답변 있음
Pressure relief valve with proportional control
I recommend using a Pressure Sensor and the Variable Area Orifice. then write a Simscape component (or use blocks from the Physi...

11년 초과 전 | 0

답변 있음
linearising a non-linear plant model
It looks like you are in the right direction: - The System Identification Toolbox is the tool to identify the relation betwee...

11년 초과 전 | 0

| 수락됨

답변 있음
nested Simulink While Iterators
I don't remember using nested iterator subsystem myself. I was curious, so I searched our database and I cannot find reports of ...

11년 초과 전 | 0

답변 있음
Variable Time Step Solver
I confirm: The "tout" signal apply to all signals that have a "continuous sample time. If you want to see more of what the co...

11년 초과 전 | 0

답변 있음
Modify dynamically a sample time in Simulink
Sample time cannot change during simulation. What you can do is set the sample time as the smallest possible rate you want to...

11년 초과 전 | 1

답변 있음
Simscape: Create unidirectional Locking mechanism component
You will not be able to implement a pure lock. Using Simscape language, you could write an ssc-file to "lock" by enabling a stif...

11년 초과 전 | 0

답변 있음
Difference between 3D Animation Toolbox vs SimMechanics?
If you already implemented the equations in Simulink I would go for Simulink 3D Animation. You will need to find/create VRML obj...

11년 초과 전 | 2

답변 있음
Using same gobal simulation options for a model and all the models that are referred in it
Share the configuration, see details here: http://www.mathworks.com/help/simulink/ug/sharing-a-configuration-set-between-refe...

11년 초과 전 | 0

| 수락됨

답변 있음
Comment a block or subsystem in simulink
Right-click on it and select "Comment out": http://www.mathworks.com/help/simulink/ug/editing-blocks.html#btms_1l Ctrl+Shi...

거의 12년 전 | 2

| 수락됨

답변 있음
Simulink "While Iterator" subsystem development and debugging
The dataset logging format allows you to log all the iterations of For and While Iterator subsystems http://blogs.mathworks.c...

거의 12년 전 | 0

| 수락됨

더 보기