Beantwortet
I cannot run dsm_demo.mdl
Since the MATLAB Function block (in releases earlier than R2015a) always generates C code, you need to install and configure a s...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
LaserScan in TurtleBot examples
The commands certainly look correct. Have you tried changing the maximum scan range to a nondefault value? For example: plo...

mehr als 10 Jahre vor | 0

Beantwortet
SimMechanics. Import. Solid properties. Simulink
For each rigid part in SolidWorks, SimMechanics Link generates an STL file. You also get an XML file which says how the STL file...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Using the Simulink for analogue circuits
Do you have access to Simscape and SimElectronics? Those are the two add-on products to Simulink that are more closely associate...

mehr als 10 Jahre vor | 0

Beantwortet
Is there a way to get all the blocks with specific datatype (eg. boolean / ufix1) in Simulink model after compiling
You can't exactly do this for blocks, because some blocks use different data types for different calculations inside of them. Wh...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
What code do I need to write to simulate this block diagram?
Do you plan on using MATLAB or Simulink? In MATLAB, you can use the <http://www.mathworks.com/help/control/ref/tf.html tf> fu...

mehr als 10 Jahre vor | 0

Beantwortet
What is the proper approach (or a good example) for enforcing prismatic joint limits on a joint that is also actuated?
Using the Translational Hard Stop block is the proper approach. However, I'd make sure to check the following things about that:...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
I need help on Shallow Water Equations?
How about this paper? http://www.mathworks.com/moler/exm/chapters/water.pdf Or this File Exchange entry? http://www.mat...

mehr als 10 Jahre vor | 0

Beantwortet
Simulation and Control of a double pendulum by Neural Networks
The documentation page for Neural Network control of a robot arm (basically a pendulum) is here: http://www.mathworks.com/hel...

mehr als 10 Jahre vor | 0

Beantwortet
How to use inside a Simulink file a user-defined class previously written in matlab?
I found 2 main issues here: First, methods of a class must have the object itself as the first argument. So, to correctly use...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
How can I give inputs to a MIMO statespace model generated using the command ss(a,b,c,d)?
You can use the |lsim| function to provide arbitrary inputs to a state-space (or transfer function) system and likewise collect ...

mehr als 10 Jahre vor | 0

Beantwortet
How can I convert mechanical force on the rod of a double acting cylinder to hydraulic pressure using SimHydraulics blocks?
The neat thing about Simscape/SimHydraulics is that all the connections are reversible. That is, you can apply a pressure on the...

mehr als 10 Jahre vor | 0

Beantwortet
hello friends, when i done a modelling in simulink error "the "FixedStepDiscrete" solver cannot be used to simulate block diagram,because it contains continuous states" is occuring.... even i tried all the solver types but nothing worked.. help me..
If you have continuous-time blocks like Integrators, Continuous State-Space/Transfer Function, etc., then you cannot use a discr...

mehr als 10 Jahre vor | 3

| akzeptiert

Beantwortet
Read BlockType of SimscapeBlocks
Looks like the |ClassName| block parameter might return what you want. For example: >> get_param(gcb,'ClassName') an...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Does SimMechanics 2nd Gen compute inverse dynamic ?
Yes, SimMechanics allows you to prescribe motion and automatically computes forces and torques -- both along the axis of motion ...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
goto error when using more than one Single Phase Dynamic Load Block
This problem no longer happens in the latest version (R2015a), but I tried on an older version and that was indeed the case. ...

fast 11 Jahre vor | 2

| akzeptiert

Beantwortet
Modeling a collision between two rotating bodies
It's not all that straightforward to make these complex contact forces, but it's doable. There is a basic contact forces library...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Simulink Library Browser doesn´t show any blocks
Maybe your MATLAB install's path or toolbox cache got corrupted. If you try run the following commands in MATLAB and try opening...

fast 11 Jahre vor | 15

| akzeptiert

Beantwortet
why does the estimated state-space model using n4sid not show the same output in Simulink?
Without much knowledge of your system, some of the questions that may be worth looking into are: # Is the input provided to t...

fast 11 Jahre vor | 0

Beantwortet
In SimMechanics, can we have an actuator that has the ability to change its actuation modes online?
You cannot change the actuation mode mid-simulation because SimMechanics generates all the equations when the model updates prio...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
HOW TO ESTIMATE A FUELCELL BOOST CONVERTER USING ADAPTIVE CONTROL??
Something like this may be useful to read. Just replace the DC Motor model with a boost converter model. You can optimize parame...

fast 11 Jahre vor | 0

Beantwortet
Are the simulink models created in a 64 bit version of Matlab compatible with a 32 bit version of Matlab and vice versa?
Yes, you should be able to use Simulink models in any bitness or operating system that supports that MATLAB version. The only th...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
PID Control Block Tuner Options
Since you're modeling a rectifier, I'm guessing the pulses are problematic and won't give you a direct analytical answer. Have y...

fast 11 Jahre vor | 0

Beantwortet
what's the mean:" the simulink library browser failed to initialize"
Have you tried the steps in this Answer? http://www.mathworks.com/matlabcentral/answers/99143-why-do-i-get-an-error-when-i-ty...

fast 11 Jahre vor | 0

Beantwortet
How does matlab simulink (simpower system)calculates this from machine parameters?
The per unit system is based on the nominal Voltage, Power, and Frequency which is specified in the Parameters tab of that block...

fast 11 Jahre vor | 0

Beantwortet
Hi, i cannot find solar cell block in MATLAB 2014a. I require assistance in finding it in library.
There is a Solar Cell block in the SimElectronics > Sources library. Do you have that product? You can check by typing "ver" in ...

fast 11 Jahre vor | 0

Beantwortet
Problem with the design verifier Simulink
If you go to Simulation > Model Configuration Parameters, then go to the Data Import/Export section, there should be an "Initial...

fast 11 Jahre vor | 0

Beantwortet
Simulink - DC Motor Control (result in not as expected)
Notice the time values in your time axis. In the scope block, click the gear icon (Preferences), go to the History tab and un...

fast 11 Jahre vor | 0

Beantwortet
Creating a mask/dialog of a subsystem and setting sample time for all components within
You can create a mask variable (for example, |Ts| ) that users can enter in the dialog box. Then, inside the masked subsystem...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
What does mean the Linearization Delta in the block mechanism configuration of the simmechanics library
From the <http://www.mathworks.com/help/physmod/sm/ref/mechanismconfiguration.html documentation>: Perturbation value for comput...

fast 11 Jahre vor | 2

| akzeptiert

Mehr laden