Answered
robotic arm force feedback simulation
This is very close to that you need: http://www.mathworks.com/help/physmod/sm/examples_v2/computing-actuator-torques-using-in...

12 years ago | 0

| accepted

Answered
Simulink Block execution information problem
Display the sorted order: http://www.mathworks.com/help/simulink/ug/controlling-and-displaying-the-sorted-order.html Here ...

12 years ago | 0

| accepted

Answered
linmod or linearize?
Here it is: http://www.mathworks.com/help/slcontrol/ug/linearizing-nonlinear-models.html#bsp453g-1 In short, the answer is...

12 years ago | 0

Answered
Problem in linearizing a Simulink model
It is difficult to say without looking inside the subsystem in your model. A few tips: - If you have Simulink Control Design...

12 years ago | 0

| accepted

Answered
How do you convert a virtual subsystem to a subsystem which can be converted to referenced model?
The subsystem need to be atomic. Right-click on it, parameters, you should see a "Treat as atomic unit" checkbox. http://w...

12 years ago | 2

| accepted

Answered
Can I use embedded matlab functions in simulink models? Is it a good practice to use this?
yes, and yes! (but like all good things... don't abuse it)

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 1

| accepted

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 5

| accepted

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

12 years ago | 0

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

12 years ago | 1

| accepted

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

12 years ago | 1

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 3

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 1

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

12 years ago | 0

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

12 years ago | 1

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

Load more