Risposto
Signal flow in Simulink Model
The sorted order is the way to see in which order blocks are executed.... this is equivalent to the data flow: http://www.mat...

circa 13 anni fa | 1

| accettato

Risposto
Dynamic Masking using Checkboxes
In R2012b we added new examples showing how this can be done: http://blogs.mathworks.com/seth/2013/01/17/which-callback-shoul...

circa 13 anni fa | 0

Risposto
Simulink: How to start simulation of a subsystem separately?
The Step block uses the time from the model, you cannot offset it. Typically, to do what you are looking for you will need to im...

circa 13 anni fa | 0

Risposto
How to handle Algebraic Loops for Simulink Coder to C++ when the model is function fine and Simulink is autosolving the loops?
To get a better look at the loop, use the Simulink Debugger. "ashow" will allow you to see each loop (you mention 10). Using "at...

circa 13 anni fa | 0

Pubblicato


Which callback should I use?
This week's post has been triggered by question recently posted on this blog regarding Masking and Variant Subsystems. If...

circa 13 anni fa

Thumbnail

Risposto
Simulink API: Identify SF blocks with 'User specified states/transition execution order' set 'ON'
Try the Stateflow API http://www.mathworks.com/help/stateflow/api/overview-of-the-stateflow-api.html You should be able to...

circa 13 anni fa | 0

Risposto
How to create fuzzy subsystem in simulink?
This should give you a good overview of the concept: http://www.mathworks.com/videos/fuzzy-logic-controller-in-simulink-68767...

circa 13 anni fa | 0

| accettato

Risposto
How can I create an array in Stateflow in the form Arr= [x y z]?
In R2012b, the MATLAB Chart was introduce. In this release your initial attempt should work.

circa 13 anni fa | 0

Risposto
stopping simulation at t=0!!!
Use the Simulink debugger. It will allow you to probe all blocks I/O and states just before the error happens. Put a breakpoint ...

circa 13 anni fa | 1

Risposto
Reducing lag caused by masked Simulink blocks
One thing I like to do is storing the image data in the block user data. I do not guarantee it will lead to great improvemen...

circa 13 anni fa | 0

| accettato

Risposto
Euler to Quaternion transformation block
Like most blocks in the Aerospace Blockset, the block is a masked subsystem... look under the mask to see its implementation.

circa 13 anni fa | 0

| accettato

Risposto
Signal dimensions of a bus in Simulink
I think your understanding is correct. To verify that, go to the model configuration -> Diagnostics -> Connectivity You wi...

circa 13 anni fa | 0

Pubblicato


Congratulations to the Winners of the 2012 Simulink Student Challenge!
The 2012 Simulink Student Challenge is complete and we have our winners! Thanks to everyone who participated. All of the...

circa 13 anni fa

Thumbnail

Risposto
Initial Pressure in Segmented Pipe LP Block?
To observe the pressure at each node, I recommend using the Simscape Logging Explorer: http://www.mathworks.com/matlabcentral...

circa 13 anni fa | 0

| accettato

Risposto
Error running parallel simulations
It might be because both workers are trying to build/access/delete the mex-file a the same time. Look at the documentation pa...

circa 13 anni fa | 0

Pubblicato


Where is the Reverse Multi-port Switch Block?
I recently noticed requests for a block implementing a behavior that might be called "Reverse Multiport Switch". You can...

circa 13 anni fa

Thumbnail

Pubblicato


What Is Simulation?
This week we are taking a break from Simulink features and capabilities to take a step back and look at the history of...

circa 13 anni fa

Thumbnail

Risposto
How can I add port label to my Simulink block within C MEX?
If the port label depends on a mask parameter, it should be possible to do it in the mask, not in the S-Function. I do not ha...

circa 13 anni fa | 0

| accettato

Risposto
Initial conditions fail to converge in simscape simulation?
I would go with Dan's comment: How is the block connected? If you have another component also setting the pressure of its node n...

circa 13 anni fa | 0

Risposto
SimScape - Delay Mass/Vecocity Input
It looks like you should connect a Force Actuator to the Mass. That way you will be able to feed it a step at any desired time, ...

circa 13 anni fa | 0

Risposto
How to simulate a solid surface on which the robot will be able to walk?
Contact dynamics is a complex topic, there no magic easy solution that fits all problem. In general I usually try to approach...

circa 13 anni fa | 0

Risposto
using ssSetNumInputPorts but no change in inputports...
Your code looks good... I can't identify what is going wrong. This is probably not the problem, but make sure MATLAB sees the...

circa 13 anni fa | 0

Pubblicato


Debugging C/C++ S-Functions
If you are going to work with C or C++ S-Functions, you will probably need to do some debugging. My advice is: Don't go...

circa 13 anni fa

Thumbnail

Risposto
Represent Simulink Integrator block as Matlab Function
This is not a good idea. The MATLAB function is not designed for this purpose.

circa 13 anni fa | 0

Risposto
Limited Slip Differential SimDriveline model
This model is included with SimDriveline. This is the first result if you search for "Clutch-Controlled Limited Slip Differentia...

circa 13 anni fa | 0

| accettato

Pubblicato


SimMechanics Second Generation
SimMechanics users, the first time you opened the Simulink Library Browser in R2012a, you probably noticed a big change:...

circa 13 anni fa

Thumbnail

Pubblicato


Automatically Improving Model Performance
Since I joined the technical support department at MathWorks, one of the questions I received the most often is: Can you...

oltre 13 anni fa

Thumbnail

Risposto
Inputting frame-based signals to Stateflow Chart
As mentioned in the link provided by Kaustubha, it is important to realize that since R2010b, the concept of "frame-based" chang...

oltre 13 anni fa | 1

Risposto
how to change the reference of linked block..
This should do it: set_param('a/target','referenceBlock','lib/target_b') This is mentioned here: http://www.mathworks.c...

oltre 13 anni fa | 2

| accettato

Pubblicato


An Ounce of Design Min/Max is Worth…
Often, it is worth putting a bit of extra effort at the beginning of a project to save time later. Today I want to...

oltre 13 anni fa

Thumbnail

Carica altro