Community Profile

photo

Salman Ahmed

Attivo dal 2021

Followers: 0   Following: 0

Statistiche

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

Visualizza badge

Feeds

Visto da

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

Carica altro