photo

Vandit

MathWorks

Last seen: 2 months ago Active since 2023

Followers: 0   Following: 0

Hello, I am an EDG intern at MathWorks. Disclaimer: All opinions I express on this forum are my own, and not representative of MathWorks.

Programming Languages:
Python
Spoken Languages:
English
Pronouns:
He/him

Statistics

  • Knowledgeable Level 2
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Matlab run time error in the terminal: Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
Hi, The error message you provided suggests that there are some issues related to the OpenGL rendering and the required lib...

1 year ago | 0

Answered
How to plot a heatmap image using PCA loadings?
Hi, To plot or reconstruct a HeatMap image using PCA loadings, you can follow these general steps: Use the 'pca()' function i...

1 year ago | 0

Answered
'Value' must be a double scalar within the range of 'Limits'. HOW CAN WILL I SOLVE ?
Hi, The error message indicates that there is an issue with the input value for one of the variables. The 'EditField' objects i...

1 year ago | 0

Answered
Want to check any point lied inside a closed isosurface or not?
Hi, The code you provided generates a TPMS structure using the ‘isosurface’ function and checks if a given point K is inside o...

1 year ago | 0

Answered
boundary conditions in PDE
Hi, Based on the code snippet you provided, it appears that you are correctly applying Dirichlet boundary conditions to the edg...

1 year ago | 0

Answered
Plot a Honeycomb Contour
Hi, Kindly add below code snippet to generate the contour of the honeycomb structure and plot it on top of the original honeyc...

1 year ago | 0

Answered
i have a transfer function and pI values, i want to draw a bode plot by using transfer function and PI values
Hi, To draw a Bode plot using a transfer function and proportional-integral (PI) values in MATLAB, you can follow these steps...

1 year ago | 0

Answered
can super capacitor be used in place of lithium ion capacitor
Hi, In Simscape Electrical, you can replace a Lithium Ion Capacitor (LIC) with a Supercapacitor but it's important to note ...

1 year ago | 0

Answered
Problem loading proRAW (dng) file in matlab
Hi, You may refer to the below steps in order to load a RAW image in MATLAB and convert a 3D uint8 matrix into a 2D matrix : D...

1 year ago | 0

Answered
How to solve and plot a differential equation
Hi, Below is the updated MATLAB code that solves the given differential equation and plot the concentration in each compartment...

1 year ago | 0

Answered
Converting a Python code that deals with arrays to MATLAB
Hello, After assuming that 'wave_form', 'wave_form1', 'spike_samp', 'wave_from', 'max_thresh', 'data, spike_window',' offset',...

1 year ago | 0

Answered
editor is slow since 2021
Hi, If you are experiencing slower response times when using MATLAB 2021b or above via X11 forwarding through SSH, there are fe...

1 year ago | 1

Answered
Programmatic equivalent to C/C++ Code->Generate S Function
Hi, Once you have identified the subsystems you want to convert into S-Functions, you can iterate through each subsystem and u...

1 year ago | 0

Answered
Simulink is not opening on ubuntu20.04. Loading indefinitely
Hi, It seems that you are encountering issues with opening Simulink in MATLAB2021a. You may refer to the below link in order to...

1 year ago | 0

Answered
The Enlightenment Problem of MATLAB and Simulink
Hi, The slow opening times for MATLAB and Simulink after a period of inactivity or shutdown may be caused by a variety of facto...

1 year ago | 0

| accepted

Answered
Simulink Code gen does not invoke makecfg.m for custom Matlab L2 S-function.
Hi, Yes, the 'makecfg.m' function is only called if a '.mex' Simulink block binary is present. This is because the '.mex' file...

1 year ago | 1

Answered
Hi, I'm trying to make a boundry that reflects the integrin to the opposite side of where the boundary touches, for instance it hits the top and ends up on the bottom.
Hi, The main modification is to reflect the integrins that hit the boundary. To do this, I added a nested for loop right after ...

1 year ago | 0

Answered
Is it possible to train ACF detector with polygon labeled data?
Hi, Yes, ACF supports polygon labels. To use them, you need to convert the polygon labels to a format that ACF can understand....

1 year ago | 0

| accepted

Answered
how do I override rt_main in embedded coder?
Hi, To modify main function ‘ert_main.c’, you can navigate to ‘Model_Name_ert_rtw’ folder and customize ‘ert_main.c’ file as p...

1 year ago | 0

Answered
i cant reinstall matlab
Hi, If you've already uninstalled MATLAB via the Control Panel and deleted any remaining MATLAB folders and files in your syst...

1 year ago | 0

Answered
Variable timestep as input to generated embedded C code
Hi, To feed the timestep of the CFD code to the MATLAB code you can perform the following steps as shown below: Add a MATLA...

1 year ago | 0

Answered
Keep System In Viewport
Hi, To answer the given problem, you can implement the ‘campos’ and ‘camtarget’ functions in MATLAB to programmatically adju...

1 year ago | 0

| accepted

Answered
I am trying to generate C/C++ code from Kalman filter sensor fusion example for simulating it on FPGA. But everytime the code is missing rtwtypes.h file. How to solve this iss
Hi, To resolve the missing “rtwtypes.h” file error, you need to make sure that the Embedded Coder/Simulink Coder is properly co...

1 year ago | 0

Answered
simulink generate C code using target "systemverilog_dpi_grt.tlc" problem
The error message you received suggests that there are missing DPI (Direct Programming Interface) exports in your Simulink model...

1 year ago | 0

Answered
how to plot the vrr functions vrr,3,5,2
I am assuming that here “vrr” is referring to Valence-Rydberg-Rydberg (VRR) contraction functions which is used in quantum calcu...

1 year ago | 0

Answered
'eigs and eig'-- which one should I choose?
The choice of whether to use “eig” or “eigs” function depends on the size of the matrix and the desired accuracy. "eig" funct...

1 year ago | 0

Answered
How to set bus types for in bus element and out bus element in simulnk model through command line?
With Simulink, you may specify the bus types for in-bus and out-bus elements. With the help of the function “Bus.createMATLABStr...

1 year ago | 0