Publicado


??? Invalid Simulink object name
Did you ever get an error like this? pre.codeinput { background: #EEEEEE; padding: 10px; } @media print { ...

más de 15 años hace

Thumbnail

Respondida
reaction wheel simulation with simulink
SimMechanics is what you need. You can just specify the bodies and their relations and it will compute the results for you, no n...

más de 15 años hace | 2

| aceptada

Respondida
simscape pneumatics
I would like to mention 2 things: 1 - Connecting pneumatic components requires a good knowledge of the domain and the equatio...

más de 15 años hace | 0

| aceptada

Publicado


Different Results in Accelerated Mode Versus Normal Mode
By Guy Rouleau This week I received a large model giving different results when used as a referenced model in Accelerated...

más de 15 años hace

Thumbnail

Respondida
Opinion simulink
In your image, lsc and Tref and sources, very likely Constant blocks! When you create a simulation, you need to know that num...

más de 15 años hace | 0

Respondida
How to create an input signal from acquired data
Laura's solution is one good approach. If you want to import your data directly from Excel to the Signal Builder block, follo...

más de 15 años hace | 0

Respondida
difficulties with add_block
Not sure what is going wrong for you. The following works for me: load_system('nesl_utility') add_block(sprintf('nesl_ut...

más de 15 años hace | 1

| aceptada

Respondida
pid controller optimisation using fminsearch---pls help me
Here is what you need: http://www.mathworks.com/products/simcontrol/

más de 15 años hace | 0

Respondida
How to insert a function handle in simulink !?
In a Level 2 MATLAB S-function, you should be able to use your function in the same way as you do in MATLAB. Do you receive a...

más de 15 años hace | 0

Respondida
Multiple signals on one input channel with analog input block
This is very likely due to the "block size" property that you set to 5. This means that the scope displays the last 5 samples fo...

más de 15 años hace | 0

Respondida
quadrature/rotary encoder .mdl file
To transform quadrature signals A and B into angle, you only need a few basic blocks like logical operator, memory, sum, gain. ...

más de 15 años hace | 1

Respondida
Importing Continuous data into Simulink from Matlab Workspace
Based on the description, it looks like you should write a C/C++ s-function that would interface with your HID dll properly, whi...

más de 15 años hace | 0

| aceptada

Respondida
Insetting the SimMechanics Visualization Window into GUI
If Kausthuba's interpretation of your questions is correct, the answer is NO. The SimMechanics visualization is not compatible w...

más de 15 años hace | 1

Respondida
simulink library browser blocks gone
There might be a user-written file on your path. I would go for the classic: restoredefaultpath rehash toolboxcache ...

más de 15 años hace | 2

Publicado


How Do I Change a Block Parameter Based on the Output of Another Block?
By Guy Rouleau One question I often receive is: How can I change the value of a block parameter while the simulation is...

más de 15 años hace

Thumbnail

Respondida
Getting "Counter" Simulink block to switch direction?
I do not recommend using the Counter block for that. The counter block could be used to simulate the behavior of your sensor. ...

más de 15 años hace | 1

Respondida
SimMechanics Inverse and Forward Dynamics
Hi Peter, In your question you mention that the reason for doing this is "just to check if model works well". I do not think ...

más de 15 años hace | 2

Respondida
block eror
The error message tells you "The derivative of [...] is infinite". The place in your s-function where you specify the derivat...

más de 15 años hace | 0

| aceptada

Respondida
Simulink Control Design: Linear Analysis
It looks like the constraint you specified on your operating point cannot be satisfied. Did you consider getting an operating...

más de 15 años hace | 0

Respondida
Implementing your own function in a simulink model
I wrote the following post especially to give tips on finding the best implementation for your for problems like yours: <http...

más de 15 años hace | 1

Respondida
how to biuld in an characteristic map for the derivative constant (PID, Simulink)
I recommend building your PID block, it should take you only a few blocks. A Sum, an Integrator, a Transfer Function, a few Gain...

más de 15 años hace | 1

| aceptada

Respondida
SIMULINK-conversion of simulink blocks into HDL code.
Simulink HDL Coder only supports a subset of blocks, you can create a library containing all these blocks by executing HDLLIB ...

más de 15 años hace | 0

Respondida
Link Simulink with Neural Network Toolbox
The Neural Network toolbox includes blocks to use a network in Simulink. See the documentation here: http://www.mathworks.com...

más de 15 años hace | 0

Publicado


If you can put a man on the moon, can you take a look at my car?
Today I welcome my colleague Paul Barnard to guest post about the final report from the NHTSA-NASA Study of Unintended...

más de 15 años hace

Thumbnail

Respondida
Real-time workshop - using external time management
RTW will generate a "step" function. You just need to use your external clock to call this "step" function in your C/C++ applica...

más de 15 años hace | 0

Publicado


How to Verify Code Generated with Model-Based Design
An important benefit of Model-Based Design is doing early verification of your model and using what you learn to verify your...

más de 15 años hace

Thumbnail

Respondida
MATLAB type in Embedded MATLAB Files
You need to declare the variable returned by CVSREAD before. For example, add: ava = zeros(M,N); before cvsread, with M ...

más de 15 años hace | 1

Respondida
ODE Simulation
This looks good at first look. Seth has a nice post on this topic: http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-ode...

más de 15 años hace | 1

| aceptada

Respondida
SimMechanics, pin in slot joint
Configure the Custom Joint to get what you want. Your description is vague, but looks like 1 translational and 1 rotational.

más de 15 años hace | 1

| aceptada

Respondida
Programming simulink model to pause and fetch infrmation at a specific time
Typically in Simulink you want to use signals for time varying data and parameters for non-varying data. Based on your descri...

más de 15 años hace | 1

Cargar más