photo

Abhas


Last seen: Today Active since 2023

Followers: 0   Following: 0

Programming Languages:
Python, C++, C, Javascript, MATLAB, SQL, HTML, CSS
Spoken Languages:
English, Hindi
Pronouns:
He/him

Statistics

All
  • Commenter
  • Promoter
  • Solver
  • Knowledgeable Level 4
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Multiple Matlab version, DCOM config?
Hi @Joseph Gaglione, To configure your WCF service to prefer MATLAB 2022b (Matlab.Application 9.13) over MATLAB 2018b (Matlab.A...

9 days ago | 0

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

13 days ago

Answered
MATLAB crashes after setting LD_PRELOAD parameter
Hi @Ganesh, The error you're encountering indicates that the shared library "libutils.so" requires a version of the GNU Standar...

13 days ago | 0

Answered
Bypassing the sampling limits of resample function of p*q<2^31
Hi @r, The issue arises because the "interp1" function in MATLAB requires the "x" array to have unique values, and your voltage...

13 days ago | 0

Answered
Superscripts and subscripts in fprintf
Hi @Left Terry, In MATLAB R2016a, "fprintf" does not support displaying text with subscripts directly because it outputs plain ...

14 days ago | 1

Answered
Tab completion behavior is different for constructors
Hi @Jaime, The tab completion works differently in the following two cases: Method Argument Validation (arguments block): When...

14 days ago | 0

Answered
Example code for trainedmodel.predictfcn
Hi @Jeremy Grata, MATLAB doesn't provide a built-in feature to directly generate a script outlining the steps "predictFcn" uses...

14 days ago | 0

Answered
Meaning of the p-value calculation for Kolmogorov-Smirnov test in KSTEST2 function
Hi @Aharon Renick, The p-value is derived from the limiting distribution of the KS statistic under the null hypothesis. The KS ...

15 days ago | 0

| accepted

Answered
how to show the relation ship between simulink function and its caller
Hi @wenchao zhang, To visually display the relationship between Simulink functions and their callers in your Simulink model, fo...

15 days ago | 0

| accepted

Answered
MATLAB Mechanic explorer loading slow compare to simulink simulation.
Hi @khoi tang, The issue likely lies in rendering or software configuration, not hardware. MATLAB's Mechanics Explorer relies o...

1 month ago | 0

Answered
Generate root level virtual bus outport as struct
Hi @Jake Gareau, To programmatically create "Simulink.Bus" objects for virtual buses to preserve their hierarchy during code ge...

1 month ago | 0

Answered
Symbol not found: _mexPrintf when using mex executable
Hi @Robert, The issue you are facing is primarily due to the following: Thread Safety Issue: "mexPrintf" and similar functions...

1 month ago | 1

| accepted

Answered
Simulink C Code Generation creates out of bounds access errors in arrays
Hi @Marco Montanaro, I also encountered the out-of-bounds array access issue in the C code generated by Simulink's Embedded Cod...

1 month ago | 0

Answered
Cannot run Referenced model in accelerator mode
Hi @Jake Gareau, To address this issue, try using "powergui". Navigate to "preferences" and enable the option called "Use TLC f...

1 month ago | 0

| accepted

Answered
Code Generation folder for C/C++ code block
Hi @Jake Gareau, To handle your problem and automate the inclusion of your custom code during code generation in Simulink usin...

1 month ago | 1

| accepted

Answered
Generate Code for unused Variables in Data Dictionary
Hi @Jake Gareau, In MATLAB, it is not directly possible to declare global variables in a data dictionary and have them appear i...

1 month ago | 1

| accepted

Answered
need help with the mirroring function
Hello, @Keryous, The problem in mirroring the scissor lift stems from the way joint positions are calculated for the sections. ...

1 month ago | 0

Answered
Simulink CodeGeneration Assertion Fail
Hi @Berkan Uzunoglu, I recently encountered a similar issue while running Model-in-the-Loop (MIL) simulations in MATLAB. After ...

1 month ago | 1

Answered
Running Simulink in rapid acceleration mode
Hi @Eyefujirin Ejegi, I encountered a similar issue with Rapid Accelerator mode and upon doing some research I found the follow...

2 months ago | 0

Answered
Entity Generator usage for Assembly Line (Manufacturing)
Hi @Abdul, To generate and simulate a mixed set of entities (M1, M2, M3, M4, M5) with different generation rates and service ti...

2 months ago | 1

Answered
Trying to make the plot of potency along Z that is a decaying exponential but it goes straight to zero
Hi @Leonardo, The problem might be with how the exponential decay is being computed, especially if the integral values become t...

2 months ago | 1

Answered
Can anyone provide the syntax for how to display point cloud data in matlab?
Hi @learner, You can refer to the below documentation link to know more about point cloud data in MATLAB: https://www.mathwork...

2 months ago | 1

Answered
How to apply multivariate bootstrapping in Matlab?
To perform multivariate bootstrapping for two output matrices "W0"​ and "W1"​ simultaneously in MATLAB, you can use the "bootstr...

2 months ago | 0

| accepted

Answered
How to enable "Tail time (Tt)" and "Fall time (Tf)" parameter adjustment in the IGBT block?
Hi @Nishan, The inability to adjust certain timing parameters directly in the IGBT block dialog box in Simscape Electrical migh...

2 months ago | 1

Answered
Block output differs for different instances with same parameters
Hi @Thomas, Yes, this behavior can occur in Simulink models due to model complexity and layout. Factors such as numerical preci...

2 months ago | 0

Answered
Inconsistent code generation of Block parameters with Embedded Coder
Hi @Ghassen, To ensure consistent naming of parameters in the generated C++ code using Embedded Coder, follow these steps: Con...

2 months ago | 0

Answered
plotting a triangle with surf
Hi @Carsten, Yes, you can add a triangle to your existing 3D plot in MATLAB. You can use the "patch" function to create a trian...

2 months ago | 0

| accepted

Answered
Why the output of generated code has been also initialized to "M_FALSE" when set "BooleanFalseId" parameter to "M_FALSE",
Hi @ChanP, When you set the "BooleanFalseId" parameter to "M_FALSE", you are specifying that the identifier for the Boolean "fa...

2 months ago | 0

Answered
How to generate code that accepts Simulink block parameters as an argument to the model step function?
Hi @Mohammed Afandi, To modify the generated C++ code so that parameters are passed to the "Model_step" function as a structure...

2 months ago | 1

Answered
How to plot 3d version of rose plot?
Hi @Sahil Wani, To create a 3D rose plot in MATLAB, you need to calculate spherical coordinates and create a custom visualizati...

2 months ago | 1

| accepted

Load more