Beantwortet
Using if function block in MATLAB Simulink
You should use a Merge block with the outputs of the "if" and "else" subsystems, and then look at the signal coming out of that ...

fast 11 Jahre vor | 0

Beantwortet
Changing Field of View or Perspective in Simmechanics Simulation
Rob, Right now you can't really make the SimMechanics animation perspective "follow" an object. Simulink 3D Animation does le...

fast 11 Jahre vor | 0

Beantwortet
Creating a position sensor for hydraulic actuator
I'm assuming you have a cylinder block somewhere in there, right? You can connect an <http://www.mathworks.com/help/physmod/sims...

fast 11 Jahre vor | 0

Beantwortet
can Matlab be used to make simulation of tasks on an assembly line?
I saw that you already did CAD Import on the robot arm model itself. The only missing part would be the extra loads. You coul...

fast 11 Jahre vor | 0

Beantwortet
Function block in simulink
Hi Mikkel, I think the best bet would be to place that MATLAB Function block in a <http://www.mathworks.com/help/simulink/lib...

fast 11 Jahre vor | 0

Beantwortet
ways to build in sensor and system uncertainty
Yes, you can do this relatively easily. On the MATLAB side, you can always create a vector of normally distributed values wit...

fast 11 Jahre vor | 0

Beantwortet
import LV5250SDK to the matlab 2014a to controlling the movming of the robotic arm
Have you looked into <http://www.mathworks.com/help/matlab/matlab_external/calling-functions-in-shared-libraries.html this page>...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to obtain Transfer Function from Scope Data?
The |idfrd| function is a start, as that will package up your collected data into an "experiment" of frequency vs. complex respo...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to make real-time simulation in simMechanics?
To go to real-time simulations, you have to do a couple things. 1. Change your model to use a fixed-step solver and your Sims...

fast 11 Jahre vor | 0

Beantwortet
Dependency report for a mixed code of Matlab and Simuilink model
You can generate Model Manifests from <http://www.mathworks.com/help/simulink/ug/model-dependencies.html Simulink models>, which...

fast 11 Jahre vor | 0

Beantwortet
Externally Fired Gas Turbine
Do you have access to Simscape as well? If so, keep reading: The closest I can think of is the <http://www.mathworks.com/matl...

fast 11 Jahre vor | 0

Beantwortet
SimPowerSystems: 2nd vs 3rd Generation in terms of speed
Depends on your model. If you aren't using any power electronics blocks (inverters, transistors, etc.) and your frequencies a...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
Unexpected velocity component in aerospace block set 6dof euler equations
First 2 things I would try out: # Does that initial body rotation rate element of 1 affect the results at all? That is, if yo...

fast 11 Jahre vor | 0

Beantwortet
Plot sin or cosine with Simulink scope
Javier, By default, if no other blocks drive it, Simulink will choose a sample time of 1/50 the total time -- so, in your cas...

fast 11 Jahre vor | 1

Beantwortet
How to open Simscape results explorer?
Which version are you using? If it's R2014b or later, this results explorer is built into Simscape, although the underscore isn'...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Simulink report generator: how generate a report with hierarchy identical to simulink model?
I just tried this out on a similar model. Looks like your best bet is to use a "System Loop" report component with the "Sort ...

fast 11 Jahre vor | 0

Beantwortet
PID controlled reflow oven Simulink
Hi Kdog, After typing the answers below, I realize that my suggestions for doing all this involve quite a few separate produc...

fast 11 Jahre vor | 0

Beantwortet
Three Phase dynamic load
It could very well be numerical noise. I noticed you are still using the ode45 solver, which is the default for Simulink. If ...

fast 11 Jahre vor | 0

Beantwortet
SIMULINK How to connect gas charge accumulator to a pump/motor?
SimHydraulics comes with blocks for all of those already: Pumps, gas-charged accumulator, tanks, valves, etc. A typical diagram ...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Share data between multiple Simulink models? (Global simulink signals)
Simulink does have this capability... either using global variables in a MATLAB Function block or using Data Store Read/Write bl...

fast 11 Jahre vor | 1

Beantwortet
creating a structure from a bus object in matlab
You can convert buses to structures using this function: http://www.mathworks.com/help/simulink/slref/simulink.bus.creatematl...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How do I make sure Simulink Constants are coded as #define?
You mean like this? http://www.mathworks.com/help/releases/R2015a/ecoder/ug/macro-definitions-define.html - Sebastian

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Simulink : How can I update the data from Workspace while the simulation is running?
Simulink only writes data to the workspace when a simulation is completed or stopped. You could use a <http://www.mathworks.c...

fast 11 Jahre vor | 0

Beantwortet
Use of Translational Hardstop with Multi Body
My guess is the extra weight of the new object (which is much bigger) makes it such that the hard stop spring and damper can't p...

fast 11 Jahre vor | 0

Beantwortet
Need help creating shapes in SimMechanics
It doesn't seem like your screenshot went through. Anyways, I will try answer: 1. For the round tube, you should create a cir...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Modelling gas particles; "Attempted to access x(11); index out of bounds because numel(x)=10."
I have two thoughts here. 1. You have an out-of-bounds indexing error because you're saying that |x(i) = x(i)+velocityx*dt;| ...

fast 11 Jahre vor | 0

Beantwortet
Water Boiling Modeling by Simscape
There is this model for two-phase fluids (liquid + gas), though the application is different. http://www.mathworks.com/matlab...

fast 11 Jahre vor | 0

Beantwortet
Is there a tool which produces a graphical (or textual) representation of the data dependencies of a model?
There are two tools I can think of, both of which are included with a standard Simulink license. 1. <http://www.mathworks.com...

fast 11 Jahre vor | 0

Beantwortet
How can I display the axes on a video?
The default syntax for <http://www.mathworks.com/help/matlab/ref/getframe.html getframe> (without any input arguments) uses the ...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
Without optimization toolbox can we able to use Global Optimization toolbox in Matlab???
Unfortunately, no. Global Optimization Toolbox requires both MATLAB and Optimization Toolbox. http://www.mathworks.com/produc...

fast 11 Jahre vor | 0

Mehr laden