Community Profile

photo

Salman Ahmed

Con actividad desde 2021

Statistics

  • Knowledgeable Level 3
  • Revival Level 3
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

Ver insignias

Content Feed

Ver por

Respondida
Evaluate Simulink model at a given time vector
Hi Daniele, Assuming you wish to produce the simulation outputs at specified times, navigate to the model configuration setting...

11 meses hace | 0

Respondida
How to change arrow labels of simulink blocks
Hi Vibhu, You can programmatically rename the Simulink signal line names by first doing a global search for that signal name in...

11 meses hace | 0

Respondida
Get sample rate in a Matlab function block in Simulink
Hi Glenn, You could also use the following workaround to access the sample rate inside the MATLAB function block: coder.extrin...

11 meses hace | 0

Respondida
An error occurred while running the simulation and the simulation was terminated due to singularities in my Simulink model?
Hi Yernagu, This problem occurs oftenly. This is usually caused because of Inf or NaN output produced at a block. Set the diagn...

11 meses hace | 0

Respondida
How to save a Simulink scope as a .fig file without opening it (Command Window code)?
Hi Cory, From what I understand, you wish to export the scope viewer to a figure. There is no direct function for doing this, h...

11 meses hace | 0

Respondida
Index and combine datastores tables
Hi Russell, To combine tall arrays with different underlying datastores, it is recommended that you write the arrays (or index...

alrededor de 1 año hace | 0

Respondida
Vectorization problem with assignments
Hi Marcos, You can use the following to vectorize your loop. cols = Vector2(vector1,1:dims);

alrededor de 1 año hace | 0

Respondida
ibis-ami development training
Hi Andrey, Do have a look at the set of examples present in the documentation to help you get started. You can use the SerDes D...

alrededor de 1 año hace | 0

Respondida
How to delete an element from a Simulink.SimulationData.Dataset
Hi Camille, You could use removeElement to delete an element. To remove the element from your Simulink.SimulationData.Dataset...

alrededor de 1 año hace | 0

| aceptada

Respondida
Model Data Editor - can't find create new data box
Hi Arthur, The model ex_arg_code_ref supplied as part of the example already has gainArg defined in the model workspace. You co...

alrededor de 1 año hace | 0

| aceptada

Respondida
Comparison tool in R2021b can no longer filter to 'show differences only'
Hi Daniel, I understand you wish to visualize the differences only while doing a comparison using visdiff. I have brought this...

alrededor de 1 año hace | 0

Respondida
Build videos using every Nth image from original video
Hi Jim, Since you would like to select a Frame from the VideoReader object (vidObjIn) directly, you could use the read function...

alrededor de 1 año hace | 0

| aceptada

Respondida
Simulink Dimension Mismatch Error
Hi Bahaa, From my understanding this error has originated as you are trying to multiply the output of the mux which is a signal...

alrededor de 1 año hace | 0

Respondida
Simulink/MATLAB error in akima interpolation
Hi Marco, In a MATLAB Function block, you can only use the subset of the MATLAB language and language features that are support...

alrededor de 1 año hace | 0

Respondida
New MATLAB Answers filtering does not allow multiple selections
Hi Jonas, I have brought this issue to the notice of our developers. They will investigate the matter further.

alrededor de 1 año hace | 0

| aceptada

Respondida
Reinforcement Learning - Train Agent for Three-Lane Highway
Hi Christian, I would recommend going to the following resources to help you start with: Driving Scenario Designer Basics : I...

alrededor de 1 año hace | 0

Respondida
How do I use a different random number seed in a for each subsystem?
Hi James, From my understanding, you wish to generate a random number with a different seed for each different iteration. I thi...

alrededor de 1 año hace | 0

Respondida
Turn a Simulink model into a mex file
Hi Cedric, The rt_logging.h file is only used if you are logging data to a MAT-file. So it assumes the MAT-file logging option ...

alrededor de 1 año hace | 0

Respondida
In Simulink, how to call the same subsystem several times to do a calculation?
Hi Udara, I am assuming you wish to modify your Simulink model to pass the outputs of it (HAL_HV_MON, HAL_HV_MON1, ...) to a s...

alrededor de 1 año hace | 0

| aceptada

Respondida
how to load mat file(trained neural ode) in simulink matlab function.
Hi Muhammad, You could try using the coder.load function that can be used to load the MAT files data at compile time and can be...

alrededor de 1 año hace | 0

Respondida
Behavior of tab key in 2021b
Hi Nicolas, I understand that you wish to disable tab auto-complete options. This cannot be completely achieved (refer to this ...

alrededor de 1 año hace | 0

Respondida
try to have simulink's stop time as a block
Hi Jorge, Assuming you want to stop the simulation conditionally, the best way to achieve this would be using a Stop Simulation...

alrededor de 1 año hace | 0

Respondida
How to extract between a keyword the end statement in a code?
Hi Jeremiah, I understand that you are trying to extract between a keyword and end statement and the presence of end in comment...

alrededor de 1 año hace | 0

Respondida
Sorting Elements of af 3D matrix in another Matrix with a condition
Hi Alex, From what I observe from your code is that you would like to iterate over and sort elements based on the condition def...

alrededor de 1 año hace | 0

Respondida
how to fill a matrix using the rows of another matrix
Hi manar, From the comments, I understand that you wish to segregate your data into different cells whenever you hit peaks in y...

alrededor de 1 año hace | 0

Respondida
Set colors for specific entries of heat map
Hi, From my understanding you wish to highlight specific cells in a heatmap but this is not a feature present currently with h...

alrededor de 1 año hace | 0

Respondida
Error in Simulink - Derivative of state '1' in block at time 301.02267725 is not finite. The simulation will be stopped. There may be a singularity in the solution.
Hi Riya, This problem occurs oftenly. This is usually caused because of Inf or NaN output produced at a block. Set the diagnost...

alrededor de 1 año hace | 0

Respondida
Initialize Simulink's "MATLAB System" block for codegen with unsupported codegen functions at "setup time"
Hi Jordan, From what I understand, you want to use functions like evalin in system objects with code generation. You can define...

alrededor de 1 año hace | 0

| aceptada

Respondida
How to implement regressionGP class in Simulink
Hi Holden, From my understanding, you would like to replicate the functionality of your MATLAB file in Simulink. The functional...

alrededor de 1 año hace | 0

Respondida
Use exhaustive searcher in simulink model
Hi, You may try defining the function using coder.extrinsic in case the function is not supported. Try adding the following to...

alrededor de 1 año hace | 0

Cargar más