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

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

24 dagar ago | 0

error on my code?

ungefär en månad ago | 0

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

ungefär en månad 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...

ungefär 2 månader 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...

ungefär 2 månader 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'.

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

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

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

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

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

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

| accepted

Seems OK from here, just click submit button .

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

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

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

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

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

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

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

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

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

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

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

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

| accepted