photo

Kanishk


Last seen: Today Active since 2024

Followers: 1   Following: 0

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Converting a Simulink circuit to C-code
Hi Brian, I understand that you want to extract specific parameters from Simulink model like output voltage, temperatures, a...

1 day ago | 0

Answered
gmake trying to use folder that doesn't exist?
Hi @hannah The issue you're encountering arises from gmake searching for a library folder in an incorrect location. The "li...

2 days ago | 0

Answered
Operator '+' is not supported for operands of type 'function_handle'.
Hi @Demetris, It seems you're encountering an issue with function handles in MATLAB. A function handle is a versatile data ...

3 days ago | 0

Answered
Questions about operation with Serial Receive block
Hi @Kohei Sagawa, I understand you are experiencing slowdown in serial receive block while using Simulink. This should not be ...

3 days ago | 0

Answered
matlab.codetools.requiredFilesAndProducts error for unsupported filenames
Dear @Elikplim, It seems you are encountering an issue with “matlab.codetools.requiredFilesAndProducts” due to invalid MATLA...

7 days ago | 0

Answered
Code generation for an S-function
Hi @Anh, I went through the documentation of CasADi tool. Although it supports self-contained C-code for a large subset of fu...

8 days ago | 0

Answered
How to build a graph like the triangle of velocity vectors
Dear @Beket, To make triangle in MATLAB figures you can write a function which takes the length of two sides and two angles...

10 days ago | 0

Answered
Figure saved to PDF with wrong font when using special characters.
Hi @Andrzej, I reproduced the issue of the “Times New Roman” font not working with special characters. I found a workarou...

10 days ago | 0

Answered
Generated code from Simulink has class definition final
Hi Thomas, I understand you are facing an issue with the “final” specifier during code generation in Simulink. I have fac...

1 month ago | 0

Answered
what kind of basic FPGA system is needed for deep learning IP core generation?
Hi @KH, I understand you want to create your own FPGA evaluation board. When registering a custom board in MATLAB, includ...

1 month ago | 0

Answered
My Matlab and solid works are two different systems, how to install the simscape multi body plugin for Matlab
Hi Sarvesh, I understand you want to install the Simscape Multibody link plugin without installing MATLAB in the system. ...

1 month ago | 0

Answered
Import doesn't works when I use them in the 'startupFcn()' of APP designer
Hi Dyson, I understand you want to import packages in every method by importing them once. In MATLAB, the import stateme...

1 month ago | 0

Answered
how can i split or divide a dataset into its different parts (an electroencephalogram [EEG] of 122880 samples into 16 pieces or channels)
Hi @Ri go, I understand you want to perform a Fourier transform on the EEG signal. In MATLAB, the ‘fft’ function do not ...

2 months ago | 0

Answered
Scatter plot legend with multiple column ?
Hi Luca, I understand you want to create a plot with grouped legend markers. @dpb suggested a method, but here is another ap...

2 months ago | 0

Answered
Why does App Designer include the full file path when packaging external helper functions?
Hey Rhys, I understand the helper function files in the installed package contain the entire path of the MATLAB function fi...

2 months ago | 0

| accepted

Answered
testcase.press() interrupts rest of testing script until button callback function has completed.
Hi Gad, I've implemented a similar application using a "state button," "timer," and "VideoReader" to control video playback...

2 months ago | 0

Answered
Automatically installing Add-Ons for users
Hi Eric, I understand that you want to install MATLAB support package for different versions of MATLAB. You can install MA...

2 months ago | 0

| accepted

Answered
Can't open powerpoint file using mlreportgen.ppt.Presentation Class
Hi Chris, I understand you are facing an error while generating a PowerPoint presentation using MATLAB report generator. ...

2 months ago | 0

Answered
click push button and interact with window opened by it
Hi jcd, I understand that you want to open and operate a MATLAB App from another MATLAB script. This can be done by accessi...

2 months ago | 0

Answered
Sporadic error with FramesAcquiredFcn and getdata
Hi Nick, I understand you want to record the accurate timestamps of each frame in absolute time. To accurately record the...

2 months ago | 0

Answered
Access local symbol in a Simulink-based state in Stateflow
Hi Francis, Local symbols in Stateflow cannot be modified in the Simulink based states. Instead, to read/modify values from...

2 months ago | 0

| accepted

Answered
How can I calculate the shaded area ?
Dear wd, I understand you are interested in calculating the area between a plotted line and the x-axis over the interval fro...

2 months ago | 0

| accepted

Answered
Skip an iteration in a ForEach subsystem
Hi Omar, You are looking to enhance the efficiency of a "For Each" subsystem in Simulink by selectively skipping certain it...

2 months ago | 1

Answered
Is it possible to generate the same function for identical subsystems in different top models?
Hi JW, I understand you want to generate reusable code for subsystems shared across multiple models. For this, you can utilize...

2 months ago | 0

Answered
how to determine the SNR using Matlab function in simulink ?
Hi Anas, I understand you want to convert a signal from time domain to frequency domain. You can use MATLAB’s ‘fft’ function...

3 months ago | 0

Answered
Not Enough Input Arguments
Hi, Adding on to Steven’s comment, “narfout” is indeed a typo which should be “nargout”. In addition to this there is also ano...

3 months ago | 0

Answered
Giving position input to actuator and getting force output
Hi Fatih, To achieve position control in the linear actuator system, ensure that the setup allows for position commands to be...

3 months ago | 0

Answered
Adding an if condition in a Matlab Function in Simulink results in error. (Suddendly it's a "size mismatch"?!)
Hi ivosp, I understand you are using a MATLAB function block in Simulink and are encountering a "Size mismatch" error. This...

3 months ago | 0

Answered
Why wasn't the PreGet event triggered?
Hi, I understand you are using listener to trigger ‘PreGet’ Callback function. In the code, setting the ‘Data’ property o...

3 months ago | 0

Answered
Monte Carlo simulation matrix for electron spins - help with conditional sign change!
Hi, I understand you are trying to flip the sign of an element and accept it based on the mentioned condition. To simulate t...

3 months ago | 0

Load more