Community Profile

photo

Leonardo Maia


Last seen: 3 días ago
16 total contributions since 2019

Leonardo Maia's Badges

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
Matlab spring equation question
The way I understand the problem, you need an array "x" as the result of this program, which will have the same size as the arra...

30 días ago | 0

Answered
How do I increase the font size of MATLAB Document Help?
Ctrl + '+' for increasing and Ctrl + '-' for decreasing. Or alternatively, press and hold Ctrl and roll your mouse wheel. Should...

30 días ago | 1

Answered
Matlab graphs not showing
Nothing is plotted because Jx is all NaN's, so something is wrong with your calculations.

3 meses ago | 0

| accepted

Answered
How to find value of X when Y reaches maximum value
Not sure what kind of output you want, but one way would be to get the derivative of your y(x) function. When it's "zero", it'...

3 meses ago | 0

| accepted

Answered
SIMULINK step, ramp "Start time" on command
A possible solution would be to use an enable subsystem, where the enable signal would be the result of checking the pressure se...

4 meses ago | 0

| accepted

Answered
Finding Commented blocks programmatically
what about adding 'Commented','on' and 'Commented','through' to the find_system() arguments?

4 meses ago | 0

| accepted

Answered
Simulink - Interpreted Matlab Function: How can I define that I want two inputs to my function?
The Interpreted MATLAB function block only accepts one input afaik. Would it be possible to use a MATLAB function block instead?...

4 meses ago | 0

Answered
Greek character in script turned to a square or a question mark - any ideas why?
You can refer to this if you want to print greek and other special characters. But I don't think you can have these characters w...

4 meses ago | 0

Answered
How to Delay matlab function block?
Have you tried Delay blocks?

4 meses ago | 0

| accepted

Question


Extremely slow compilation time in referenced model (Simulink)
I have a Simulink model (model1) which has a model reference to model2. Model2 compilation time (checked with sldiagnostics) is...

4 meses ago | 1 answer | 0

1

answer

Answered
Is there a way of externally defining the initial output of a Variable Transport Delay?
Not sure if I understood the question clearly, but you could simply define a ini_output value in the base workspace: ini_output...

4 meses ago | 0

Answered
Algebraic state in algebraic loop
You could try adding a Delay block before the input to the derivative block. I don't know if the signal in your actual model i...

4 meses ago | 0

Answered
List of all subsystem(include Model reference) in each layer from model
This could be a starting point: SubsystemsList=find_system('mdlName','SearchDepth',20,'LookUnderMasks','on','FollowLinks','on',...

4 meses ago | 0

Answered
Using multiple copies of the same MATLAB Function Block
Fixed the issue by encapsulating the MATLAB Function block in a subsystem in the library.

5 meses ago | 0

| accepted

Question


Using multiple copies of the same MATLAB Function Block
Hello, I'm trying to use the same MATLAB Function block multiple times in the same Simulink model. These duplicate instances ...

5 meses ago | 1 answer | 0

1

answer

Question


MATLAB Function block limitations
I'm trying to implement MATLAB code into a MATLAB function block in Simulink which would need to do the following: parse data/te...

alrededor de 1 año ago | 1 answer | 1

1

answer