게시됨


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

15년 초과 전

Thumbnail

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

15년 초과 전 | 2

| 수락됨

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

15년 초과 전 | 0

| 수락됨

게시됨


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

15년 초과 전

Thumbnail

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

15년 초과 전 | 0

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

15년 초과 전 | 0

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

15년 초과 전 | 1

| 수락됨

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

15년 초과 전 | 0

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

15년 초과 전 | 0

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

15년 초과 전 | 0

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

15년 초과 전 | 1

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

15년 초과 전 | 0

| 수락됨

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

15년 초과 전 | 1

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

15년 초과 전 | 2

게시됨


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

15년 초과 전

Thumbnail

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

15년 초과 전 | 1

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

15년 초과 전 | 2

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

15년 초과 전 | 0

| 수락됨

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

15년 초과 전 | 0

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

15년 초과 전 | 1

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

15년 초과 전 | 1

| 수락됨

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

15년 초과 전 | 0

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

15년 초과 전 | 0

게시됨


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

15년 초과 전

Thumbnail

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

15년 초과 전 | 0

게시됨


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

15년 초과 전

Thumbnail

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

15년 초과 전 | 1

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

15년 초과 전 | 1

| 수락됨

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

15년 초과 전 | 1

| 수락됨

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

15년 초과 전 | 1

더 보기