Community Profile

# Jesús Zambrano

### MathWorks

427 total contributions since 2018

View details...

Contributions in
View by

Issue with state flow generated code
One of the setting that might affect what you are describing is the setting of "Block reduction" and "Condition input branch exe...

alrededor de 20 horas ago | 0

How to do this in Simulink?
Hi Avijit, In the command window, set values to the parameters Ka, Ta, Tw. Then, create the transfer functions by writing: s...

18 días ago | 0

error on my code?

alrededor de 1 mes ago | 0

why Code generation with model reference initialize port is not working?

alrededor de 1 mes ago | 1

SIL/PIL manager using script/program
Hi Gopal, Please visit the following link that shows ways to do the workflow you are looking for: https://www.mathworks.com/h...

alrededor de 1 mes ago | 0

Plotting graph using scope
With a Scope block (form Library, section Sinks) you get a trend of a variable as function of time. If you use the XY Graph blo...

alrededor de 1 mes ago | 1

| accepted

New to Matlab - need help with rearranging equation
Hi Philip, You are right with your approach. I'm afraid there is not explicit solution of this equation for 'q'.

alrededor de 1 mes ago | 0

Error in my function in my for loop
Try to define the size of T before using it. Also, make sure that the line of code [n,m] = size(X); is giving you the value of...

alrededor de 2 meses ago | 0

| accepted

Example of Execution Coverage
Execution coverage is the most basic form of coverage. For each item, execution coverage determines whether the item is executed...

alrededor de 2 meses ago | 0

Solved

Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

alrededor de 2 meses ago

Solved

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

alrededor de 2 meses ago

Hi James, You can specify all model settings to a new model by creating a model template. Please check the following link for ...

2 meses ago | 0

| accepted

How to see the freq response of a transfer function ?
Hi Nabil, If that is the screenshot of your implementation, you need to include data source to your model. It seems you want t...

2 meses ago | 1

what is optimal option when creating test harness to verify mathematical models ?
Not sure what you mean with "verify mathematical models". Please have a look at the foolowing link (and the references therein...

2 meses ago | 0

Why am I getting **Illegal use of reserved keyword "else"** in the following assessment block?
Try with Else. See some examples here: https://www.mathworks.com/help/sltest/ug/connecting-blocks-for-verify-statements.html

2 meses ago | 0

| accepted

Seems OK from here, just click submit button .

3 meses ago | 0

Asking for 'opening the project' when opening any model file (slx)
Hello, Please check if you have a .prj along with folder that are in the project path and contain those models. If you open any...

3 meses ago | 0

Extremely slow compilation time in referenced model (Simulink)
Try running the top-level model in Accelerator or Rapid Accelerator mode. Here are a few tips when using the Accelerator and R...

3 meses ago | 0

What is the best book to understand State flow ?
I'd recommend you to start with the MathWorks documentation, which includes a complete information and different examples using ...

3 meses ago | 0

Moving average in stateflow
Is it mandatory a Stateflow implementation? Otherwise, a simple way is to use a tapped Delay block to delay the incoming signal ...

3 meses ago | 0

Could you please go to MathWorks webpage, click on Support, scroll down and go to Contact Support, so to get help if you are exp...

3 meses ago | 0

How to create a variable input in Matlab R2020a Simulink?
Hi Pranav, Make sure you copied the equation correctly. Seems that 'a' and 'b' are parameters, and the input is missing. Please...

3 meses ago | 0

Difference between Matlab and Wolfram Alpha
Hi Niklas, You need to set 'ReturnConditions' to true to return any parameters in the solution and conditions on the solution...

4 meses ago | 0

| accepted

How can i force a new simulation if there is a warning
Hi, The commands try/catch are used for executing statements and catch errors messages not warning messages. Since getting a w...

5 meses ago | 0

| accepted

Atomic subsystem results into data dependency violation
When converting a virtual subsystem into an atomic block, you are treating that block as a function where all its components are...

5 meses ago | 0

As a first run, try to use a block from the Source section in the library, called 'Repeating Sequence' or 'Repeating Sequence In...

5 meses ago | 0

How to make tests run in test assessment block if the tests are identical?
Hi Sanket, The test sequence block has one test formed by a set of steps arranged in hierarchy. Here you have one test per harn...

5 meses ago | 0

Error in Test Harness Generation in SIL Verification Mode
I assume that the subsystem is part of a Simulink model, correct? Before creating the harness for the subsystem, make sure that ...

7 meses ago | 1

| accepted