Unable to find base block in simscape multibody
What do you mean by Base Block? You can find a World Frame block in the Frames and Transforms sub-category. The "Base Block" may...

9 months ago | 0

How can i obtain the final value of x and y?
Use sol = solve(prob) to solve the problem. The answer is in the sol object. You can also use sol.x and sol.y. Note that you may...

9 months ago | 0

| accepted

White background from "Print to Figure" in Simulink scope
I found that the background color is same as the scope for the figure generated from the "Print to Figure" command in the scope ...

10 months ago | 0

| accepted

Question

White background from "Print to Figure" in Simulink scope
The "Print to Figure" menu command in a Simulink scope generates a figure with a black background. How can I change the backgrou...

10 months ago | 1 answer | 0

### 1

Replacing a for loop with matrix multiplication
Try x'*inv(SIG)*x. Matlab can directly handle vectors and matrices.

10 months ago | 0

CONVERTING MATLAB SIMULINK MODEL INTO Programming

10 months ago | 0

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

10 months ago | 0

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

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

10 months ago | 2 answers | 0

### 2

Submitted

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

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

11 months ago | 0

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

11 months ago | 1

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

11 months ago | 0

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

11 months ago | 0

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

12 months ago | 0

| accepted

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

12 months ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 1

| accepted

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

1 year ago | 1

| accepted

Did you try to install the trial license? I had the same problem. Try to request a trial using the Mathworks website instead of ...

1 year ago | 1

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

1 year ago | 0

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

1 year ago | 0