Pubblicato


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

circa 12 anni fa

Thumbnail

Pubblicato


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

circa 12 anni fa

Thumbnail

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

circa 12 anni fa | 0

Pubblicato


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

circa 12 anni fa

Thumbnail

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

circa 12 anni fa | 0

Pubblicato


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

circa 12 anni fa

Thumbnail

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 1

| accettato

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

circa 12 anni fa | 1

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

circa 12 anni fa | 0

Pubblicato


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

circa 12 anni fa

Thumbnail

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 2

| accettato

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

circa 12 anni fa | 0

Pubblicato


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

circa 12 anni fa

Thumbnail

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 1

| accettato

Pubblicato


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

oltre 12 anni fa

Thumbnail

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

Pubblicato


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

oltre 12 anni fa

Thumbnail

Pubblicato


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

oltre 12 anni fa

Thumbnail

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 5

| accettato

Carica altro