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

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

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

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

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

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

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

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

quasi 14 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:...

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

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

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

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

quasi 14 anni fa

Thumbnail

Risposto
How to make simulink masked subsystems open as separate windows?
This is currently not possible. We are looking into this for a future release. As a workaround, you can show the model browse...

quasi 14 anni fa | 2

| accettato

Pubblicato


New options for debugging in R2012b
Today I want to highlight R2012b features very useful when debugging a model. Using the simulation stepping and...

quasi 14 anni fa

Thumbnail

Risposto
Variable Transport Delay Irregularities
The limitation mentioned here applies to the the Variable Time Delay, not the Variable Transport Delay. For the Time Delay, a de...

quasi 14 anni fa | 0

Pubblicato


Resizing blocks in R2012b
This week I want to share two new ways of resizing blocks in R2012b. Those might seem very minor, but I think they can be...

quasi 14 anni fa

Thumbnail

Risposto
Is it possible to model hard stops in simmechanics 2nd generation?
This central submission will show you how to interface the SimMechanics 2nd generation revolute with a Simscape rotational compo...

quasi 14 anni fa | 0

| accettato

Risposto
residual norm and unconverged equation error
Here are a few tips to make your model more robust to this error: - Try increasing the Consistency tolerance in the Solver Co...

quasi 14 anni fa | 2

Pubblicato


You say “sȯ-dər”, I say “sōl-dər”
This week, guest blogger Jason Ghidella talks about solder joints. I say “sōl-dər” After reading Michael Carone’s ...

quasi 14 anni fa

Thumbnail

Risposto
How can I implement conditional compilation logic in simulink and stateflow?
Subsystem and Model Variants allow conditional compilation: http://www.mathworks.com/help/ecoder/ug/example-of-variant-subsys...

quasi 14 anni fa | 1

Pubblicato


Smart Signal Routing
This week guest blogger Michael Carone is here to talk about improvements to signal routing in Simulink R2012b. Smart...

quasi 14 anni fa

Thumbnail

Risposto
Linearization of SimMechanics models
Try the function FINDOP from Simulink Control Design. It is designed for trimming models and is more powerful than TRIM.

quasi 14 anni fa | 0

Pubblicato


New Ways to Explore a Model with Simulink R2012b
Last week I showed how to pan and zoom within one system of a model. This week, we will talk about your options to navigate...

quasi 14 anni fa

Thumbnail

Risposto
why signal generator is not giving proper sawtooth wave for frequency of 1khz and run time of 100 seconds
See this: http://blogs.mathworks.com/seth/2009/07/14/refining-the-output-of-a-simulation/

quasi 14 anni fa | 0

Pubblicato


Zooming and Panning in Simulink R2012b
As we highlighted recently, Simulink R2012b has a ton of new features. During the next weeks, we will try to provide as much...

quasi 14 anni fa

Thumbnail

Pubblicato


Configuring the MATLAB R2012b Desktop
As you probably know by now, a lot of changes happened in MATLAB R2012b. As with everything, changes in our environment...

quasi 14 anni fa

Thumbnail

Risposto
Updating library information in script
Based on your description,. it looks like you want to PROPAGATE... not update. When looking here: http://www.mathworks.co...

quasi 14 anni fa | 0

Risposto
How can I mux or demux a bus of vectors?
You are making a bus of vectors. Based on your description you should go for an array of buses. Then you could use the For Ea...

quasi 14 anni fa | 0

Risposto
Analyse at a time step
If you need to execute a set of blocks or a function multiple time er time step, use the For or While action subsystem. Type ...

quasi 14 anni fa | 0

Carica altro