Answered
CONVERTING MATLAB SIMULINK MODEL INTO Programming
Try the Simulink coder.

4 years ago | 0

Answered
How do I store data that meet conditions of an if statement
You over wrote the variable data. One soluation is to change data to data(i).

4 years ago | 0

Answered
Impedance versus frequency plot in Simscape Simulink
Bode plot is the gain and phase of the impedance. Gain is the magnitude. Phase is the angle. You can use the magnitude and angle...

4 years ago | 0

Question


Simulink Pixhawk Support Package System Requirements
What is the MINIMUM system requirement to generate code from Simulink and download to a Pixhwak in R2020b? Will I be able to jus...

4 years ago | 2 answers | 0

2

answers

Submitted


Euler angles to axis-angle vector conversion for Simulink 3D
Calculate the corresponding axis-angle vector for given Euler angles

4 years ago | 1 download |

Thumbnail

Answered
How can I convert a double variable to uint8 and convert it back to double?
Very interesting. In R2019b, I got >> d = 163.0 d = 163 >> d == double(uint8(d)) ans = logical 1 >> d == (uint8(...

4 years ago | 0

Answered
how to use a revolute joint to rotate a body around it's local frame x axis not the global frame
Insert a rigid transform between the revolute joint and the object. Align the z-axis of the joint to the x-axis of the object (e...

4 years ago | 1

Answered
Spectrum Analyzer continuous issue
The spectrum analyzer requires discrete input and the frerquency span needs to be adjusted according to the sampling period. The...

4 years ago | 0

Answered
How does SFRotation works in Simulink 3D world Editor?
Simulink 3D rotation input use axis-angle (x, y, z, angle) format, where the first 3 elements specify the axis direction. Euler ...

4 years ago | 0

Answered
Unrecognized function or variable
You need to put the genCand function in a file named genCand.m (in the same directory of the calling m-file or in the search pat...

4 years ago | 0

| accepted

Answered
How do I add input to VR sink?
Use Nodes - Insert From - Component Library to add objects (simple shapes such as box, circle are in the Shapes folder) in the 3...

4 years ago | 0

Answered
How Do I Delete a Linear Analysis Point from a Block Diagram?
Choose Model Lineraizer in the APPS tab. Select Edit Model I/Os in the Model I/Os drop down menu. Highlight the signal and click...

4 years ago | 0

| accepted

Answered
Simscape Mechanics Explorer plot a dynamic line
You can use a slender cylinder to represent the line and attached it to the camera.

4 years ago | 0

Answered
Does SM uses Featherstone's algorithm?
Simscape solver is not well documented. The attached paper offers some clues. Simscape uses physical (or object oriented) modeli...

4 years ago | 0

Answered
Simscape compiling takes forever
My guess is that you have too many components. Each components has associated Differential Algebraic Equations (DAEs). The Simsc...

4 years ago | 0

Answered
Help with Simscape Multibody
The z-axis of the revolute joint needs to align with the desired roration axis. Use the Rigid Transform block in the Simscape/Mu...

4 years ago | 0

| accepted

Answered
How do I build pulley systems with 3 or more pulleys?
I think you need to put some mass in the system for non-ideal pulley. The pulleys output forces and torques at the terminals. Th...

4 years ago | 0

Answered
Hi, how do i make the block/ball/or table objects that the serial manipulators interact with?
You can use the Spatial Contact Force block to model the contact between a table and an object and between a gripper and an obje...

4 years ago | 0

Answered
Does force/torque get transfered throughtout an assembly consisting of solid blocks assembled with rigid transforms and connected with joints and gear constraints?
Simscape models are just link physical system. You apply force/torque at a particular point. The system with reponse to the forc...

4 years ago | 1

| accepted

Answered
How to follow a SimScape Multibody model in Mechanics Explorer
I couldn't figure out how to use the Keyframes camera either. So I settle with the Tracking camera. The easiest way to track an ...

4 years ago | 1

| accepted

Answered
Simscape Multibody Add-On Download Error
Did you try to install the trial license? I had the same problem. Try to request a trial using the Mathworks website instead of ...

4 years ago | 1

Answered
How to create Simscape multibody link with a hole
https://www.mathworks.com/help/physmod/sm/ug/compounding-body-elements.html#mw_14364c3d-f2ab-4f78-bc99-d6a67541e061

4 years ago | 0

Answered
What physics engine does Simscape Multibody use?
Simscape, including all its toolboxes, is based on Simscape language. An introduction can be found at https://www.semanticschola...

4 years ago | 0

Answered
Symbolic and Jacobian Matrix
Try the following. They gave what you want in Matlab R2019b. syms m phi theta psi u1 u2 u3 u4 N = sym('n%d%d', [3 4]) T = [1 ...

4 years ago | 1

Answered
How to change the density of Simscape Multibody demos?
simmechanics.demohelpers.densities is a built-in matlab function. The output is a structure that contains the density of aluminu...

4 years ago | 1

Answered
How to create a single link manipulator model in Simulink?
Use two integrators in series. The input of the first integrator is acceleration, the output is velocity. The input of the secon...

4 years ago | 0

Answered
Modeling Simscape Spherical Air Bearings
Use the Spherical Joint in the Simscape Multibody to represent the air bearing.

4 years ago | 0

Answered
Cannot update visualization,File Solid
Seems like SS MB should be able to import Unigraphics NX and STEP files https://www.mathworks.com/help/physmod/sm/ref/filesolid....

4 years ago | 1

Answered
How to link simelectronics with sim multibody (to make electromechanical system)??
Connect a torque sensor and a PS-Simulink Converter block to the simelectronics. Use Simulink-PS converter and External Force an...

4 years ago | 0

Answered
Is it possible to apply an external force to different bodies of a multi-body system based known center of pressure coordinates?
Use a External Force and Torque block at each point the force is applied. You can use sensors to get forces and displacements an...

4 years ago | 0

Load more