Publicado


How to model a hard stop in Simulink
Since R2010a, the Simulink Library includes a block named Integrator, Second Order. In my experience most people do...

alrededor de 12 años hace

Thumbnail

Publicado


A Free Dialog for your MATLAB System Block
Today I am happy to welcome guest blogger Jacob Halbrooks to describe some nice capabilities of the MATLAB System block...

alrededor de 12 años hace

Thumbnail

Respondida
Sources for learning the intricacies of Simulink?
I try my best to describe important Simulink intricacies here: http://blogs.mathworks.com/seth/ Specific to s-function, he...

alrededor de 12 años hace | 0

Publicado


Simulink and MATLAB objects
Recently, I spoke with a user who needed to interface a Simulink model with an external flight simulator implemented as java...

alrededor de 12 años hace

Thumbnail

Respondida
Terminology 101: XPC , Real-Time, ERT, SIL, PIL, External Mode
I like this page for HIL: http://www.mathworks.com/discovery/real-time-testing.html This section of the doc will help for ...

alrededor de 12 años hace | 0

Publicado


Problems with your S-Functions… Try this Diagnostic!
Ahhh... C Mex S-function... If you ever tried creating a C Mex S-function and were a little rusty on your C programming,...

alrededor de 12 años hace

Thumbnail

Respondida
Is there a possible way to include enumeration in Signal builder function to define inputs?
Not possible... please contact support to explain your use case so it can be considered in future releases. For now, I would ...

alrededor de 12 años hace | 0

| aceptada

Respondida
Slow down Simulink to synchronize it with external session (JADE)
It is not clear how you interface with the external tool, but it looks lik an S-function is the way to go. In an S-Function (...

alrededor de 12 años hace | 1

| aceptada

Respondida
How to get sample time of the model through scrip?
Simulink.BlockDiagram.getSampleTimes http://www.mathworks.com/help/simulink/slref/simulink.blockdiagram.getsampletimes.html

alrededor de 12 años hace | 1

Respondida
Non-zero start time in Rapid Simulation Target
I will not go into details... with RSim target you have an option to choose a solver. See this link to see how to configure this...

alrededor de 12 años hace | 0

Publicado


Logging Multiple Signals
Today I want to highlight a new entry in the Simulation menu in R2013b: Log/Unlog Selected Signals. If you have to log...

alrededor de 12 años hace

Thumbnail

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

alrededor de 12 años hace | 0

| aceptada

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

alrededor de 12 años hace | 0

| aceptada

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

alrededor de 12 años hace | 0

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

alrededor de 12 años hace | 0

| aceptada

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

alrededor de 12 años hace | 2

| aceptada

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

alrededor de 12 años hace | 0

Publicado


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

alrededor de 12 años hace

Thumbnail

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

alrededor de 12 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.

alrededor de 12 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...

alrededor de 12 años hace | 1

| aceptada

Publicado


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

alrededor de 12 años hace

Thumbnail

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

alrededor de 12 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 ...

alrededor de 12 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...

alrededor de 12 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...

alrededor de 12 años hace | 0

Publicado


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

alrededor de 12 años hace

Thumbnail

Publicado


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

alrededor de 12 años hace

Thumbnail

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

alrededor de 12 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...

alrededor de 12 años hace | 5

| aceptada

Cargar más