Réponse apportée
get Bus signal names
Since R2010b I think, you can use the "SignalHierarchy" property of a port to get the names of each signal in a bus. fo example,...

plus de 14 ans il y a | 5

Réponse apportée
Copying a subsystem from one model to another
Fangjun's solution is possible, but this is probably simpler with function like: Simulink.SubSystem.copyContentsToBlockDiagra...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
Simulink Signal and Physical Signal
You should be able to find what you need in the doc: 1. During Runtime, the Simscape engine combine all the components in you...

plus de 14 ans il y a | 2

| A accepté

Publié le


Simulink Projects: Collaborative workflows and Model-Based Design
MATLAB R2011b is available for download since midnight September 1, 2011! Each new release brings some excitement, but...

plus de 14 ans il y a

Thumbnail

Réponse apportée
Is it possible to measure the body vibration of an induction motor in Simulink?
Thanks for adding details... you problems is not realy what I imagined form your original question. The SimPowerSystems induc...

plus de 14 ans il y a | 0

Réponse apportée
Is it possible to measure the body vibration of an induction motor in Simulink?
yes

plus de 14 ans il y a | 1

| A accepté

Publié le


Controlling signal logging from Model Explorer
Today I want to share a useful trick to control signal logging using the Model Explorer. Enabling Logging from the Signal...

plus de 14 ans il y a

Thumbnail

Réponse apportée
Can I adjust the matrix of state-space model during simulation in Simulink?
See my answer here: http://www.mathworks.com/matlabcentral/answers/10373-dynamic-transfer-function-in-simulink There is a ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Zero Crossing Detection in Simscape (specifically SimHydraulics)
Based on my experience, I do NOT recommend to turn off zero-crossing in a Simscape model. As you probably saw in the next link, ...

presque 15 ans il y a | 1

| A accepté

Publié le


The Dataset logging format
Did you notice the new Dataset logging format available in R2011a? This new format offers a lot of advantages over...

presque 15 ans il y a

Thumbnail

Réponse apportée
How can I hide some library blocks in library browser
To hide or disable blocks and libraries in the Simulink Library Browser, you need to create an sl_customization.m file. The proc...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Problem: how to get datas from integrator block in simulink
My favorite way to send data each time step from a model to a GUI is with an event listener. See those links: http://www.math...

presque 15 ans il y a | 0

Réponse apportée
k step ahead simulation in simulink subsystems
If your model is linear or close to, you might be interested in the Model Predictive Control Toolbox: http://www.mathworks.co...

presque 15 ans il y a | 0

Réponse apportée
XY graph don't plot
One classic mistake is to forget setting the x and y limits.

presque 15 ans il y a | 0

Publié le


Detecting Divide by Zero Errors
Wouldn't it be great if you could analyze a Simulink model and certify that it will never encounter design errors like...

presque 15 ans il y a

Thumbnail

Réponse apportée
Simulink: Accelerator handles parameter change from script, but Rapid Accelerator fails to rebuild
Please contact technical support with your example model if the rapid accelerator does not rebuild when you think it should. ...

presque 15 ans il y a | 0

Réponse apportée
Different PID response from normal feedback loop and unity feedback loop
You are not comparing the same thing. In the upper case, you take a measurement between process and sensor/transmitter. In th...

presque 15 ans il y a | 0

Publié le


Are you using the right block?
Working in technical support, I receive a lot of models. Sometimes I am impressed by very clever implementations, but...

presque 15 ans il y a

Thumbnail

Réponse apportée
how to auto tune pid parameters in a closed loop control system when an adams plant exist in the model?
For an optimization of controller parameters that will really simulate the ADAMS block, I recommend going for Simulink Design Op...

presque 15 ans il y a | 1

Réponse apportée
Running Matlab Algorithim in Simulink
To make a real-time application, you will need to generate code for the model. If you use a function that need to be declared as...

presque 15 ans il y a | 1

| A accepté

Réponse apportée
Nonlinear solver
This often happens when your model is too ideal and there is a sudden transition. In a hydraulic model, this could for examp...

presque 15 ans il y a | 2

Réponse apportée
sample time mismatch
In the Signal builder, go to the file menu, there is an option to set the sample time. Change it from 0 to 1. I recommend ena...

presque 15 ans il y a | 1

Publié le


Model-Based Design of a Hydraulic Press
Today guest blogger Arnaud Miege presents a great example of adopting Model-Based Design. As an application...

presque 15 ans il y a

Thumbnail

Publié le


Explaining Model-Based Design to your Mom
Today, we had a short conversation at the start of a meeting. It went something like this: Guy: Yesterday I opened the...

presque 15 ans il y a

Thumbnail

Réponse apportée
Speed comparison S-Function - Simulink blocks
MATLAB-file s-functions are interpreted by the MATLAB engine. Core blocks are compiled. As said on wikipedia: "The main di...

presque 15 ans il y a | 6

| A accepté

Réponse apportée
Initial state vector "X0" must be a real vector of length 103.
You modified a Discrete Filter, this block has states and you very likely changed the number of states. I recommend running the ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Please help me im getting crazy!
Please do not get crazy! To investigate on your own, I would look at this solution: http://www.mathworks.com/support/solut...

presque 15 ans il y a | 0

Publié le


Variable-size signals and Unit Delay
I received requests recently about variable-size signals and the Unit Delay block. One question, many answers What...

presque 15 ans il y a

Thumbnail

Réponse apportée
Dynamic Transfer Function in simulink
I recommend this solution "How do I model a transfer function with coefficients that vary with simulation time in Simulink 7.5 (...

presque 15 ans il y a | 5

| A accepté

Réponse apportée
Importing data into Simulink from a file or the Matlab workspace
I recommend going through this documentation section: http://www.mathworks.com/help/toolbox/physmod/simscape/ref/controlledvo...

presque 15 ans il y a | 0

Charger plus