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

más de 13 años hace | 0

Publicado


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

más de 13 años hace

Thumbnail

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

Publicado


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

más de 13 años hace

Thumbnail

Publicado


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

más de 13 años hace

Thumbnail

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

más de 13 años hace | 1

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

más de 13 años hace | 2

| aceptada

Publicado


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

más de 13 años hace

Thumbnail

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

más de 13 años hace | 2

| aceptada

Publicado


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

más de 13 años hace

Thumbnail

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

más de 13 años hace | 0

Publicado


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

más de 13 años hace

Thumbnail

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 2

Publicado


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

más de 13 años hace

Thumbnail

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

más de 13 años hace | 1

Publicado


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

más de 13 años hace

Thumbnail

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

casi 14 años hace | 0

Publicado


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

casi 14 años hace

Thumbnail

Respondida
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/

casi 14 años hace | 0

Publicado


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

casi 14 años hace

Thumbnail

Publicado


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

casi 14 años hace

Thumbnail

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

casi 14 años hace | 0

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

casi 14 años hace | 0

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

casi 14 años hace | 0

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

casi 14 años hace | 1

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

casi 14 años hace | 0

Publicado


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

casi 14 años hace

Thumbnail

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

casi 14 años hace | 0

| aceptada

Cargar más