Respondida
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...

más de 10 años hace | 0

| aceptada

Respondida
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.

más de 10 años hace | 0

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

más de 10 años hace | 1

| aceptada

Respondida
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 ...

más de 10 años hace | 0

Respondida
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 ...

más de 10 años hace | 0

Respondida
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...

más de 10 años hace | 0

Respondida
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...

más de 10 años hace | 0

Respondida
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...

más de 10 años hace | 0

Respondida
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...

más de 10 años hace | 5

| aceptada

Respondida
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 ...

más de 10 años hace | 0

Respondida
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/

más de 10 años hace | 1

| aceptada

Respondida
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.

más de 10 años hace | 1

| aceptada

Respondida
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...

más de 10 años hace | 0

| aceptada

Respondida
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...

más de 10 años hace | 0

Respondida
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...

más de 10 años hace | 3

Respondida
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...

más de 10 años hace | 0

| aceptada

Respondida
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 ...

más de 10 años hace | 0

Respondida
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/

más de 10 años hace | 1

Respondida
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 ...

más de 10 años hace | 0

Respondida
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 ...

más de 10 años hace | 1

| aceptada

Respondida
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...

más de 10 años hace | 0

| aceptada

Respondida
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...

más de 10 años hace | 0

| aceptada

Respondida
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...

más de 10 años hace | 0

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

más de 10 años hace | 0

Respondida
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...

más de 10 años hace | 1

Respondida
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...

más de 10 años hace | 0

Respondida
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:/...

más de 10 años hace | 1

Respondida
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 ...

más de 10 años hace | 0

Respondida
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...

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

Cargar más