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.

más de 13 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...

más de 13 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/

más de 13 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...

más de 13 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...

más de 13 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...

más de 13 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...

más de 13 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 ...

más de 13 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...

más de 13 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.

más de 13 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...

más de 13 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...

más de 13 años hace | 0

| aceptada

Publicado


Simulink Debugger: Monitoring Variable Step Solver Performance
A few months ago I introduced my favorite command to analyze the performance of a variable-step solver. This week, I will...

más de 13 años hace

Thumbnail

Publicado


Running a Simulation Step by Step
As you probably know, when you simulate a model, there is a lot of stuff going on that you do not see. Yesterday I showed...

más de 13 años hace

Thumbnail

Publicado


Sneak Peek: Discover the New Look and Feel of Simulink R2012b
One of the benefits of working at MathWorks is seeing and working with the next release of MATLAB and Simulink before they...

más de 13 años hace

Thumbnail

Respondida
Variant subystems with mixed discrete/continuous?
I would be surprised if this is because of the derivative block. Usually, inactive variant should completely disappear. - Ens...

más de 13 años hace | 0

Publicado


Upgrading Simulink Libraries with Forwarding Tables and Transformation Functions
If you create and maintain Simulink libraries used in many models, or by many people, I think you will like this R2012a new...

más de 13 años hace

Thumbnail

Publicado


Breaking up a Stateflow Chart for Collaborative Development
This week I have been experimenting with a feature released in R2010b that I have not used before: Stateflow Atomic...

más de 13 años hace

Thumbnail

Publicado


My First Debugging Steps
Seth sometimes tells me: Grab the low hanging fruit. When debugging Simulink models, this means looking at the information...

más de 13 años hace

Thumbnail

Respondida
Is it possible to pass a parameter which represents the "sampleTime" at a 2-Level S-function?
IT should be possible to do something like: block.SampleTimes = [block.DialogPrm(1).data 0]; to set the sample from a para...

más de 13 años hace | 3

| aceptada

Publicado


Why do we need Stiff ODE Solvers?
I hope you have noticed the new MATLAB Central blog: Cleve's Corner. Cleve once said "stiffness is an efficiency issue." ...

más de 13 años hace

Thumbnail

Respondida
simscape/simelectronics stepper motor model not compatible with fuzzy logic controller?
As the error says... I recommend looking at the Subsystems Examples. More specificaly, give a look as "sl_subsys_semantics.md...

más de 13 años hace | 0

Cargar más