回答済み
Doubt regrading input as the Acceleration, Velocity and Position to get the desired position i.e. Angle for E.Motor
No sure I understand. Typically, you should have transfer function representing the dynamics of the motor (Input = Volt, Outp...

13年以上 前 | 2

| 採用済み

公開済み


Creating Your Own Block With Continuous States (MATLAB S-Function)
In a previous post, I showed an example of a MATLAB S-Function with a discrete state This week, we continue in the same...

13年以上 前

Thumbnail

回答済み
Modelling of Robot contact with object
You have 2 options: 1. You can model only the arm (no wall in SimMechanics). Use a Body sensor to get the pose of the EE in S...

13年以上 前 | 1

| 採用済み

公開済み


Simulink Student Challenge – Targeting Hardware: Win up to $500!
One of my favorite feature in R2012a is the Simulink Support for Target Hardware. Personally, I use it for many purposes....

13年以上 前

Thumbnail

回答済み
Writing a TLC file
I would start with the documentation page "Inlining S-Functions with TLC": http://www.mathworks.com/help/toolbox/rtw/tlc/bqlc...

13年以上 前 | 0

| 採用済み

公開済み


Writing your own block with discrete states (MATLAB S-Function)
A few weeks ago, I noticed the following question on MATLAB Answers by K E: What are continuous and discrete states in...

13年以上 前

Thumbnail

回答済み
Loading a Simhydraulic Motor
The doc statement means that the Hydraulic motor itself does not include loads such mass spring and damping. This means that ...

13年以上 前 | 1

| 採用済み

回答済み
Single-acting hydraulic cylinder for modeling a fuel regulator system in Simulink
It is very hard to determine a solution with those details. My feeling is that the problem is not with the solver, but with h...

13年以上 前 | 1

回答済み
Pneumatic gas transportation system
What you mention is surprising. If you connect in series a reference, pressure source, an orifice (or pipe) and a reference, the...

13年以上 前 | 0

公開済み


THE Most Useful Command for Debugging Variable Step Solver Performance
Today I want to share a trick I often use to determine if a variable step simulation runs as fast as it...

13年以上 前

Thumbnail

回答済み
Tool for showing difference b/w two simulink model
Simulink Report Generator offers this functionality: http://www.mathworks.com/products/SL_reportgenerator/ See the documen...

13年以上 前 | 3

回答済み
Running simmechanics in discerete mode
SimMechanics requires a continuous solver. The solver can be variable or fixed step. The fixed-step solver closest to discret...

13年以上 前 | 2

| 採用済み

回答済み
Simulink - Change continuous state value at a given time point
If you want to generate a "jump" in your continuous state, you must reset the block. This can be done in many ways. For example ...

13年以上 前 | 0

| 採用済み

回答済み
Time values must be monotonically increasing error
Ensure you re 100% sure the value are increasing, for example by validating that each element of "diff(t)" is positive. If th...

13年以上 前 | 1

| 採用済み

回答済み
Goto/From connections cannot cross nonvirtual subsystem boundaries. The only exception is when a goto is connected to a state output port
The error message is clear... don't place GoTo block inside the triggered subsystem and corresponding From block outside. Use...

13年以上 前 | 3

公開済み


How to make your own blocks with code! (Introduction to S-Functions)
I have to admit... before joining MathWorks, I was afraid of S-Functions. Now this makes me laugh, because I know that...

13年以上 前

Thumbnail

回答済み
stiffness problem / Trying to use ode1 (Euler) in Simulink
I would verify if the robot starts in a singular configuration. If you invert D, I guess this is because D is the manipulator...

13年以上 前 | 0

回答済み
Save a value to variable (Simulink)
Use the Selector block: http://www.mathworks.com/help/toolbox/simulink/slref/selector.html You will be able to select rows...

13年以上 前 | 1

| 採用済み

回答済み
How can I return from simulink to matlab thread?
SIM is blocking, it will return to your script only when the simulation terminates. If you want to start a simulation from co...

14年弱 前 | 1

| 採用済み

回答済み
Hydraulic Gas-Charged Accumulator
The only thing I can guess based on your description is that you have something connected wrong. Did you look at the demo "sh...

14年弱 前 | 1

回答済み
State Space Representation of a Custom Simscape Component
Interesting... I never tried combining states with different units into a vector. Since your example is a simple linear sprin...

14年弱 前 | 0

公開済み


How to Load and Save Bus Signal Data
In R2012a, the From Workspace, To Workspace, From File and To File blocks all support bus signals. This is an often...

14年弱 前

Thumbnail

回答済み
Using if/action blocks within an algebraic loop?
As you figured out, the algebraic loop solver uses a gradient descent method to solve the loop. The If/Else construct causes a d...

14年弱 前 | 0

| 採用済み

公開済み


Signal Hierarchy Viewer
If you are like me and often need to understand and edit new Simulink models, you probably already looked at a bus signal...

14年弱 前

Thumbnail

回答済み
Error in port widths or dimensions
I don't know where the 4 comes from in your error message, but your B and D matrices have 2 columns, so your system should have ...

14年弱 前 | 0

回答済み
Maximum step size or automatic timing
Hi Dirk, This is very good question. There are 2 ways in Simulink to force a variable-time step solver to take a step at a...

14年弱 前 | 1

| 採用済み

回答済み
SIMSCAPE SINEWAVE DELAYED IN SCOPE
I think this is just a scope problem On the scope, click on the "Parameters" button. Go to the History tab and uncheck the "L...

14年弱 前 | 0

| 採用済み

回答済み
Difference b/w virtual and non virtual bus?
A virtual bus is just a visual representation in the Simulink editor. It makes your model look nicer and easier to manage when y...

14年弱 前 | 9

公開済み


Automatic Refresh of Links and Model Blocks
The first time I tried editing models componentized with library blocks and referenced models in R2012a, I noticed something...

14年弱 前

Thumbnail

回答済み
Why am I observing zero flow rate in my SimHydraulics model ?
You say: "The fuel pump is wired in series to the two sensor" Flow sensor should be connected in series. Pressure sensor must...

14年弱 前 | 0

| 採用済み

さらに読み込む