답변 있음
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...

13년 초과 전 | 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...

13년 초과 전

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

13년 초과 전 | 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...

13년 초과 전

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

13년 초과 전 | 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...

13년 초과 전 | 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 ...

13년 초과 전

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

13년 초과 전 | 1

게시됨


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

13년 초과 전

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.

13년 초과 전 | 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

답변 있음
Question on Simulink Callback Scope
Interesting... 1. The model workspace can be a MAT-file, but also a MATLAB file. Based on your description, this seems like w...

거의 14년 전 | 1

답변 있음
Optimization - Evaluation of cost function requires the cost functions value at the last iteration
As far as I know, the cost function of any optimization problem should not depend on previous iterations.

거의 14년 전 | 0

게시됨


Welcome Simulink R2012b!
We are happy to announce that MATLAB R2012b is released today! You will notice that the interfaces for the MATLAB desktop...

거의 14년 전

Thumbnail

답변 있음
Dynamically Sized Inputs and Outputs
Give a look at this post about creating variable size signals and s-function: http://blogs.mathworks.com/seth/2011/06/28/vari...

거의 14년 전 | 0

| 수락됨

더 보기