Community Profile

photo

Salman Ahmed

2021 以来アクティブ

Statistics

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

バッジを表示

Content Feed

表示方法

回答済み
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...

6ヶ月 前 | 0

回答済み
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...

6ヶ月 前 | 0

回答済み
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...

6ヶ月 前 | 0

回答済み
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...

6ヶ月 前 | 0

回答済み
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...

6ヶ月 前 | 0

回答済み
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...

8ヶ月 前 | 0

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

8ヶ月 前 | 0

回答済み
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...

8ヶ月 前 | 0

回答済み
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...

8ヶ月 前 | 0

| 採用済み

回答済み
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...

8ヶ月 前 | 0

| 採用済み

回答済み
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...

8ヶ月 前 | 0

回答済み
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...

8ヶ月 前 | 0

| 採用済み

回答済み
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...

8ヶ月 前 | 0

回答済み
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...

8ヶ月 前 | 0

回答済み
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.

8ヶ月 前 | 0

| 採用済み

回答済み
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...

8ヶ月 前 | 0

回答済み
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...

8ヶ月 前 | 0

回答済み
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 ...

8ヶ月 前 | 0

回答済み
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...

8ヶ月 前 | 0

| 採用済み

回答済み
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...

8ヶ月 前 | 0

回答済み
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 ...

8ヶ月 前 | 0

回答済み
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...

8ヶ月 前 | 0

回答済み
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...

9ヶ月 前 | 0

回答済み
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...

9ヶ月 前 | 0

回答済み
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...

9ヶ月 前 | 0

回答済み
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...

9ヶ月 前 | 0

回答済み
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...

9ヶ月 前 | 0

回答済み
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...

9ヶ月 前 | 0

| 採用済み

回答済み
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...

9ヶ月 前 | 0

回答済み
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...

9ヶ月 前 | 0

もっと読み込む