답변 있음
Implementing model references with SimMechanics and SimHydraulics
Maximilian, componentizing is always a good idea! With Simscape and SimMechanics, the physical network cannot cross atomic bo...

10년 초과 전 | 0

| 수락됨

답변 있음
How do I check if a subsystem handle is for a stateflow chart
Use the "MaskType" property of the subsystem... it is equal to 'Stateflow' for a Stateflow chart.

10년 초과 전 | 0

답변 있음
Position and velocity integral in Simulink
The Second Order Integrator is designed especially for that: http://www.mathworks.com/help/simulink/slref/secondorderintegrat...

10년 초과 전 | 1

| 수락됨

답변 있음
How can I start a timer when the value of a signal becomes zero?
Use Stateflow... it allows you to express this type of procedural logic in a very intuitive way. If you need to use Simulink ...

10년 초과 전 | 0

답변 있음
How can I simulate a fixed orifice? (SimMechanics)
If this is correct: "My exact requirement is finding out the pressure drop and flow across the fixed orifice for various forces ...

10년 초과 전 | 0

답변 있음
Second Generation Sim Mechanics Motion Actuation
I just published this post today... this should help: http://blogs.mathworks.com/seth/2013/11/13/motion-actuation-in-simmecha...

10년 초과 전 | 0

답변 있음
Error Message in Simulink Simscape
If the error message tells you that there is no solver block connected to your network... maybe you should try connecting a solv...

10년 초과 전 | 0

답변 있음
Is it possible to obtain a debuggable S-function which is generated automatically by RTW?
In the generated makefile, search for "debug", you should find some comments explaining what to do. If you can find it, you shou...

10년 초과 전 | 0

답변 있음
SLX file to MDL ?
SLX was not invented in R2011b, so it cnnot read it. In the latest release, export to R2011b: http://www.mathworks.com/hel...

10년 초과 전 | 5

| 수락됨

답변 있음
Simscape - transforming a rotational motion into an oscillating transational motion
The problem with this system is the singular configurations (theta=0 or 180deg). SimMechanics is better suited to simulate such ...

10년 초과 전 | 0

답변 있음
How can I put a signal (angle) on a joint actuator
This should help: http://blogs.mathworks.com/seth/2012/02/01/applying-motion-to-simmechanics-models/

10년 초과 전 | 1

| 수락됨

답변 있음
Is it possible to visualize reaction forces in the SimMechanics Mechanics Explorer?
Not possible... but it is a good suggestion, I'll report to our development team.

10년 초과 전 | 1

| 수락됨

답변 있음
Compiled Simulink model giving different results
I would bet that this is related to the "Single output/update function" parameter. See this doc page: http://www.mathworks.co...

10년 초과 전 | 0

| 수락됨

답변 있음
how can i see variable output in subsystem on the surface of mask?
You will need an event listener or MATLAB S-Function to do a set_param on the mask drawing at every simulation step. I do not...

10년 초과 전 | 0

답변 있음
How can I stop my Simulink model from generating slprj folder and .mex* files?
What the link below says about those files is "exclude them from source control". It does not say that they are detrimental in g...

10년 초과 전 | 3

답변 있음
Simulink Error "Derivative input -47 ..." with integrator block
The port "-47" is a bug. I would recommend recommend trying in R2013b (I think it is fixed in this latest release). Also, you ca...

10년 초과 전 | 0

| 수락됨

답변 있음
Simulink:Aerospace 6 DoF Model Singularity with High Altitudes
I do not think it is because of high altitude. Based on the subsystem where the error happens shown in the screenshot, it looks ...

10년 초과 전 | 0

답변 있음
i want to make an subsystem on or off depend on the condition
See this: http://blogs.mathworks.com/seth/2012/04/09/conditional-execution/

10년 초과 전 | 1

답변 있음
pulse block in conditional subsystem
Change the Pulse Generator from Time-Based to Sample-based. That way the block will take a fixed-step size and the error should ...

10년 초과 전 | 0

답변 있음
Variant Subsystem variant control condition defined by previous subsystem output
This is not what variant subsystems have been designed for. Use a if-else construct, a Switch, or other options like the ones I ...

10년 초과 전 | 1

| 수락됨

답변 있음
Sampling time must agree
Blocks inside Stateflow Simulink functions must inherit their sample time. This is because there is no way for the engine to kno...

10년 초과 전 | 0

| 수락됨

답변 있음
Using variable size matrices in Simulink
You are going in the wrong direction. Going back in the workspace is not the good approach. Instead, create a vector in Simul...

거의 11년 전 | 0

| 수락됨

답변 있음
Implementing a customised counter in SIMULINK using basic blocksets
I would use the discrete time integrator (or the equivalent using Sum and Unit Delay). If the input is zero, it will stay at zer...

거의 11년 전 | 0

답변 있음
Why is matrix size changing after demux in simulink?
Use a Selector, this will give you a better control over the dimensions.

거의 11년 전 | 0

답변 있음
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

| 수락됨

더 보기