回答済み
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...

13年以上 前 | 0

| 採用済み

回答済み
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...

13年以上 前 | 0

回答済み
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, ...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 0

公開済み


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

13年以上 前

Thumbnail

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

13年以上 前 | 0

回答済み
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...

13年以上 前 | 0

| 採用済み

公開済み


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

13年以上 前

Thumbnail

公開済み


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

13年以上 前

Thumbnail

回答済み
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...

13年以上 前 | 1

回答済み
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...

13年以上 前 | 2

| 採用済み

公開済み


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

13年以上 前

Thumbnail

回答済み
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...

14年弱 前 | 2

| 採用済み

公開済み


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

14年弱 前

Thumbnail

回答済み
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...

14年弱 前 | 0

公開済み


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

14年弱 前

Thumbnail

回答済み
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...

14年弱 前 | 0

| 採用済み

回答済み
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...

14年弱 前 | 2

公開済み


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

14年弱 前

Thumbnail

回答済み
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...

14年弱 前 | 1

公開済み


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

14年弱 前

Thumbnail

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

14年弱 前 | 0

公開済み


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

14年弱 前

Thumbnail

回答済み
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/

14年弱 前 | 0

公開済み


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

14年弱 前

Thumbnail

公開済み


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

14年弱 前

Thumbnail

回答済み
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...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

回答済み
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 ...

14年弱 前 | 0

さらに読み込む