Community Profile

photo

Salman Ahmed

Active since 2021

Statistics

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

View badges

Content Feed

View by

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

14 dagen ago | 0

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

14 dagen ago | 0

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

14 dagen ago | 0

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

14 dagen ago | 0

| accepted

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

14 dagen ago | 0

| accepted

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

15 dagen ago | 0

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

15 dagen ago | 0

| accepted

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

15 dagen ago | 0

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

15 dagen ago | 0

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

15 dagen ago | 0

| accepted

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

16 dagen ago | 0

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

17 dagen ago | 0

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

17 dagen ago | 0

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

17 dagen ago | 0

| accepted

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

18 dagen ago | 0

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

18 dagen ago | 0

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

18 dagen ago | 0

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

ongeveer 2 maanden ago | 0

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

ongeveer 2 maanden ago | 0

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

ongeveer 2 maanden ago | 0

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

ongeveer 2 maanden ago | 0

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

ongeveer 2 maanden ago | 0

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

ongeveer 2 maanden ago | 0

| accepted

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

ongeveer 2 maanden ago | 0

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

ongeveer 2 maanden ago | 0

Answered
Hi MatLab and Simulink users. I'm stuck on 13.1 Part 2 task 5. Though I followed the answer of this page, it didn't work. Anyone who help will be highly appreciated.
Hi Jaeho, From my understanding, you may have made an unintended change to your model. You could try simulating the model (atta...

ongeveer 2 maanden ago | 0

Answered
How to run .m file script from Simulink(eg.slx) and results of script should update in same Simulink(eg.slx) file
Hi Alex, You can try the following to run your MATLAB script in Simulink: Using model callbacks : You can call the optimizati...

ongeveer 2 maanden ago | 0

Answered
Derivative of state '1' in block 'matlab_function_MATHWORKS/CHERYL KNEE EXTENSION MODEL2/Integrator4' at time 0.918 is not finite. The simulation will be stopped.
Hi Saharul, This error has occured due to the presence of a NaN value at the input of the integator. To ascertain this, you can...

ongeveer 2 maanden ago | 0

Answered
Is it possible to modify the size of the arrow heads drawn by streamslice.m?
Hi John, There is a difference between quiver and streamslice that quiver returns a Quiver object while streamslice returns a ...

3 maanden ago | 0

| accepted

Answered
High pass iir filter block in Simulink Motor control blockset
Hi mehmet, I have brought this issue to the notice of the concerned team. They will investigate the matter further.

3 maanden ago | 0

Load more