Réponse apportée
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)

presque 13 ans il y a | 0

Publié le


Tracing Requirements to Models, Tests, and Generated Code
When I wrote a post about the R2013b new features, Fraser replied in a comment that one of his favorite new feature is the...

presque 13 ans il y a

Thumbnail

Réponse apportée
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...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
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.

presque 13 ans il y a | 0

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

presque 13 ans il y a | 1

| A accepté

Publié le


Hyperloop: Not so fast!
This week Matt Brauer is back to describe work he did to analyze the trajectory of the Hyperloop proposal. This is a key...

presque 13 ans il y a

Thumbnail

Réponse apportée
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 ...

presque 13 ans il y a | 0

Réponse apportée
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 ...

presque 13 ans il y a | 0

Réponse apportée
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...

presque 13 ans il y a | 0

Réponse apportée
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...

presque 13 ans il y a | 0

Publié le


Motion Actuation in SimMechanics R2013b
In R2013b, it is possible to specify joint motion in SimMechanics Second Generation models. In this post, I will use a...

presque 13 ans il y a

Thumbnail

Publié le


Hyperloop Model Architecture: We want your feedback!
We had some fun in our last post about the Hyperloop open source transportation system, but we didn't get much into the...

presque 13 ans il y a

Thumbnail

Réponse apportée
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...

presque 13 ans il y a | 0

Réponse apportée
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...

presque 13 ans il y a | 5

| A accepté

Réponse apportée
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 ...

presque 13 ans il y a | 0

Publié le


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

presque 13 ans il y a

Thumbnail

Réponse apportée
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/

presque 13 ans il y a | 1

| A accepté

Publié le


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

presque 13 ans il y a

Thumbnail

Réponse apportée
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.

presque 13 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 13 ans il y a | 0

| A accepté

Publié le


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

presque 13 ans il y a

Thumbnail

Réponse apportée
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...

presque 13 ans il y a | 0

Réponse apportée
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...

presque 13 ans il y a | 3

Publié le


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

presque 13 ans il y a

Thumbnail

Publié le


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

presque 13 ans il y a

Thumbnail

Réponse apportée
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...

environ 13 ans il y a | 0

| A accepté

Publié le


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

environ 13 ans il y a

Thumbnail

A résolu


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

environ 13 ans il y a

Publié le


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

environ 13 ans il y a

Thumbnail

Publié le


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

environ 13 ans il y a

Thumbnail

Charger plus