Question

Code_Aster interface

Does someone developed a tool for interface Code_Aster (or Salome-Meca) with MATLAB?

2 months ago | 0 answers | 0

Question

Linearize error simulink model in Matlab function (cannot linearize abs())

I want to linearize a simulink model that use a MATLAB Function. Inside the MATLAB function I apply abs(x) and this create a fa...

4 months ago | 0 answers | 0

Question

Linearize Simulink model simultaneously on signal with multiple channels

I want to linearize a Simulink model for a given input and a given output from MATLAB script, using linearize and linio command....

4 months ago | 0 answers | 0

Question

How to visualize a Structural Reduced Order model (Superelement) from PDE library

I created a SuperElement (strucural Reduced Order Model from PDE toolbox), and now I want to use it as follow: Attach one super...

4 months ago | 0 answers | 0

Answered

Compute Craig Bampton model reduction using structural PDE toolbox of MATLAB (FEM SuperElements - Component Mode Synthesis)

It seems that with the 2020a release, Mathworks introduced the superelements! You can find the documentation here.

Compute Craig Bampton model reduction using structural PDE toolbox of MATLAB (FEM SuperElements - Component Mode Synthesis)

It seems that with the 2020a release, Mathworks introduced the superelements! You can find the documentation here.

4 months ago | 0

| accepted

Answered

Error using DynamicSystem/lsim

Please, do not use symbolic variables for the time array. t=0:0.01:10; H=tf(4,[5 5]); vi=(10.*(sin(10*t))).*(t<=18); v0=lsim...

Error using DynamicSystem/lsim

Please, do not use symbolic variables for the time array. t=0:0.01:10; H=tf(4,[5 5]); vi=(10.*(sin(10*t))).*(t<=18); v0=lsim...

4 months ago | 2

| accepted

Question

Differences between "Moist air" and "Gas" library of Simscape

Hello, assuming that I set the gas constant equal to the air constant (in order to adopt air properties in "Gas" library), what...

4 months ago | 1 answer | 0

Answered

How can I filtrate recorded time acceleration signal with 4th order Butterworth low pass filter ??

If you sampled the signal at 200Hz it is useless adopt a low-passfilter at 100Hz since 100Hz is already the maximum bandwidth th...

How can I filtrate recorded time acceleration signal with 4th order Butterworth low pass filter ??

If you sampled the signal at 200Hz it is useless adopt a low-passfilter at 100Hz since 100Hz is already the maximum bandwidth th...

4 months ago | 0

| accepted

Question

How to compute partial derivative for Lookup table in Simulink

Hello, I have a 2D look-up table in simulink, let's say for example z=f(x,y). How can I compute the partial derivative of such...

4 months ago | 0 answers | 0

Submitted

Simscape Flexible Beam Stress (BeamStressLib)

Improved "General Flexible Beam" of Simscape, that compute von-Mises stress at beam ends for rectangular beams.

4 months ago | 4 downloads |

Answered

Differences between "Constraint Force" and "Total Force" of Weld Joint

As far as I understood, in this specific case are exactly the same.

Differences between "Constraint Force" and "Total Force" of Weld Joint

As far as I understood, in this specific case are exactly the same.

5 months ago | 0

| accepted

Answered

Declare variables from Matlab function workspace to Simulink worskpace

At the end I found the solution to "send" the variables from the function workspace to the simulink workspace. ModelName='NameO...

Declare variables from Matlab function workspace to Simulink worskpace

At the end I found the solution to "send" the variables from the function workspace to the simulink workspace. ModelName='NameO...

5 months ago | 0

| accepted

Answered

Modify colobar values into a Function: error "Attempt to extract field 'YTick' from 'mxArray'"

Partially solved. Instead of call the colorbar and then modify it, I do it toghedar as follow: colorbar('Ticks',ValForColorbar,...

Modify colobar values into a Function: error "Attempt to extract field 'YTick' from 'mxArray'"

Partially solved. Instead of call the colorbar and then modify it, I do it toghedar as follow: colorbar('Ticks',ValForColorbar,...

5 months ago | 0

| accepted

Answered

Phase difference removal by using Filtering, butterworth, filtfilt command

I think that you just need to do: Fs = 500; fcutlow = 6; % low cut frequency in Hz fcuthigh = 14; % high cut freq...

Phase difference removal by using Filtering, butterworth, filtfilt command

I think that you just need to do: Fs = 500; fcutlow = 6; % low cut frequency in Hz fcuthigh = 14; % high cut freq...

5 months ago | 0

| accepted

Question

Modify colobar values into a Function: error "Attempt to extract field 'YTick' from 'mxArray'"

Hi, into a Matlab Function in Simulink environment I want to modify the value shown by a colorbar (adding min and max values ...

5 months ago | 1 answer | 0

Question

Colorbar not supported in Simulink "MATLAB function" surf plot

I have a custom surf plot written into a "MATLAB function" in simulink environment and I add the 'colorbar' in the plot to see t...

5 months ago | 1 answer | 0

Question

How can I improve Simscape flexible beam results like FEM results

Hello, I want to improve the results of "Simscape Mechanics Explorer". In particular: I want to magnify small displacements of...

5 months ago | 0 answers | 0

Question

Enable and Disable input/output subsystem's ports in Simulink

Hello, I created a subsystem with a mask with multiple "checkbox". The mask is used to interact with the subsystem (e.g. set co...

5 months ago | 1 answer | 0

Question

If Action Block that create a stairstep signal in simulink

Hello, I have two questions: I use a If Block to "cut" the signal and not perform some operations (not depicted below). Is it ...

5 months ago | 1 answer | 0

Question

Run Matlab FUNCTION at the end of Simulink simulation

Hello, in a simulink simulation I compute some signals. At the end of the simulation, when the system reach the steady-state c...

5 months ago | 1 answer | 0

Question

Problem of color interpolation of surf plot

Hello, I notice problems with color intepolation using surf plot. There is a similar problem described here, but I can't modif...

5 months ago | 1 answer | 0

Answered

Plot different length vectors on the same x-axis

So you have to do something like plot(matix1(:,1),matix1(:,2)); hold on; plot(matix1(1:173,1),matix2(:,2)); plot(matix1(1:173...

Plot different length vectors on the same x-axis

So you have to do something like plot(matix1(:,1),matix1(:,2)); hold on; plot(matix1(1:173,1),matix2(:,2)); plot(matix1(1:173...

5 months ago | 0

| accepted

Question

How to estimate the correct value of "Damping Constant" for Flexible Beams in Simscape

Hello, Reading the Matworks info I notice that damping matrix is defined as proportional by the Damping Constant to the stiffne...

5 months ago | 0 answers | 0

Answered

Loads and stress that act on flexible beams in Simscape Multibody environment

Until now I did not find the solution to extract directly the internal stress of the beam, as well as I am not able to find the ...

Loads and stress that act on flexible beams in Simscape Multibody environment

Until now I did not find the solution to extract directly the internal stress of the beam, as well as I am not able to find the ...

5 months ago | 0

| accepted

Question

How to run a Simulink simulation using keyboard

Hello, how can I run a simulink simulation using the keyboard, like I do for scripts using F5? Thanks and best regards - A

5 months ago | 1 answer | 0

Question

How to get numerical info of "Derived Values" of Flexible Beams in Simscape Multibody

Hello, how can I access to the parameteres calculated on the "Derived Values" (e.g. Axial Rigidity, Mass per Unit Length) of a...

5 months ago | 0 answers | 0

Question

Differences between "Constraint Force" and "Total Force" of Weld Joint

Which is the difference between Constraint Force and Total Force of Welded Joint in Simscape Multibody? Constraint are defined ...

5 months ago | 1 answer | 0

Question

Distribuited load on flexible beams Simscape Multibody

Hello, how can I load a generic flexible beam with a distribuited load on Simscape Multibody (instead of the traditional lumped...

5 months ago | 0 answers | 0

Answered

How can you measure the flex in a general flexible beam in Simscape Multibody?

If you are interested into the relative displacement at the ends of the beams (eg bending deflection, elongation/compression etc...

How can you measure the flex in a general flexible beam in Simscape Multibody?

If you are interested into the relative displacement at the ends of the beams (eg bending deflection, elongation/compression etc...

5 months ago | 0

Answered

What's wrong with my FRF?

The average slope of the two lines suggest that in one case you are integrating the accelartion into velocity (orangeFRF) so you...

What's wrong with my FRF?

The average slope of the two lines suggest that in one case you are integrating the accelartion into velocity (orangeFRF) so you...

5 months ago | 1

| accepted