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

Published


Don’t Engineer The Hyperloop in a Vacuum
Since it was released in August, the Hyperloop proposal by Elon Musk generated a lot of interest. Reactions were both...

12 years ago

Thumbnail

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

Published


Methods of the MATLAB System Block
In the last post on MATLAB System block, I tried to provide a basic introduction to System Objects in MATLAB and Simulink...

12 years ago

Thumbnail

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

Published


slLinearizer: Batch Linearization of Simulink Models
This week I am happy to welcome guest bloggers Charu Fadnavis and Erman Korkut to introduce the new slLinearizer interface...

12 years ago

Thumbnail

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

Published


From Symbolic to Simulink
I am recently visited the MathWorks Japan office and learned about interesting work done by my colleague Hitoshi...

12 years ago

Thumbnail

Published


2013 Simulink Student Challenge – Win up to $1000!
Have you done something super-cool in Simulink?Can you make a short video of it and share it on YouTube?Are you a...

12 years ago

Thumbnail

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

Published


The MATLAB System Block
In R2013b, you will notice a new block in the Simulink Library Browser: The MATLAB System block. System...

12 years ago

Thumbnail

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

12 years ago

Published


Welcome R2013b!
MATLAB R2013b is live for download on MathWorks.com. Here is a list of Simulink-related features I find particularly...

12 years ago

Thumbnail

Published


Implementing an iterative algorithm using the While Iterator Subsystem
Last week I helped a user implementing an iterative algorithm in Simulink using the While Iterator Subsystem. I thought it...

12 years ago

Thumbnail

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

Published


A Logic Analyzer for MATLAB and Simulink
When I wrote a post about the new features available in MATLAB R2013a, I got a request to provide details on the new Logic...

12 years ago

Thumbnail

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

Published


Referencing Configuration Sets for Model Reference
A few weeks ago I described the possibility of storing more multiple configuration sets in a single model. Today we will...

12 years ago

Thumbnail

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

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

12 years ago | 1

Published


A Tweeting S-Function for the Raspberry Pi
I recently bought a Raspberry Pi. After trying a few of the demos included with the Simulink support package for Raspberry...

12 years ago

Thumbnail

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

12 years ago | 0

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

12 years ago | 1

Load more