photo

Infinite_king


Last seen: ungefär 2 månader ago Active since 2023

Followers: 0   Following: 0

Trying to help the community as much as possible.

Programming Languages:
C++, C
Spoken Languages:
English, Telugu
Pronouns:
He/him

Statistics

  • Knowledgeable Level 3
  • 6 Month Streak
  • Thankful Level 1
  • First Answer

View badges

Feeds

View by

Answered
how do I store a few seconds of an mp3 stream using matlab.net.http?
Hi David Sears, The simplest solution is to download the entire audio and then cut out the unnecessary portion. This can be e...

4 månader ago | 0

Answered
matlab.engine.EngineError: Unable to connect to MATLAB session 'MATLAB_441'.
Hi Hud Bin, Based on your description, it seems you are attempting to connect to the MATLAB engine from Python using 'matlab....

5 månader ago | 1

Answered
Different answers on different computers
Hi Eyüp Ege, The matrix values are stored in double-precision floating-point format. This behaviour is due to inherent proble...

5 månader ago | 3

Answered
I'd like to make several 'figure' window
Hi 가현, The following expression 'plot(t,sys)' will result in an error since 'sys' is a dynamic system model, and the 'plot' f...

5 månader ago | 1

| accepted

Answered
Error using vertcat Dimensions of arrays being concatenated are not consistent
Hi Tugce, To concatenate A and B vertically, all dimensions except the first must be the same. For example, consider the foll...

5 månader ago | 1

Answered
Dimension 1 is fixed on the left-hand side but varies on the right ([1 x 1] ~= [:? x 1]).
Hi Federico Avino, The MATLAB Coder was unable to determine that the variable 'index_otv' would always be a scalar, leading t...

5 månader ago | 0

Answered
Comparing two MATLAB functions inside SIMULINK models
Hi Deepayan Bhadra, If you have access to the source code of the functions, you can copy them and place them in any folder, t...

5 månader ago | 0

Answered
is possible to Simulink coder Integrate with another base code
Hi KATHIRVEL, Yes, it is possible to integrate generated code into an existing code base. External code snippets can be inclu...

5 månader ago | 1

Answered
how to output answer in elf file on jeston nano?
Hi HSIU-YUN CHIEN, You can use Python's 'subprocess' library to call executables and capture their output. See the template c...

5 månader ago | 0

Answered
I am wondering if deep learning training is supported for code generation. I can see how to generate code for using a NNET, but not for the actual training of the NNET.
Hi Dr W Kurt, The code generation was primarily designed for deploying trained models on various hardware platforms. However,...

5 månader ago | 1

| accepted

Answered
GPU Coder error "Function 'addDependentFile' not supported for code generation."
Hi Tim Van De Looverbosch, Follow the below troubleshooting steps to resolve the issue, Check the code generation environmen...

5 månader ago | 0

Answered
hey so i need to repeat the code everytime to see and analyze the time responses for 20 different values of k. How can i do it at once and have the output for all the values?
Hi Pragna, You can use 'for' loop to execute the same code on different values. % Store all input values in an array input_...

5 månader ago | 2

| accepted

Answered
PLC Coder settings: Generate reusable code
Hi Sindre Møller, In the Simulink model 'plcdemo_simple_subsystem_modified.slx', the subsystem's perform very basic operation...

5 månader ago | 0

Answered
Error in AWGN in MATLAB
Hi James Manns, The function 'awgn'expects 'double' type as input. It seems 'lenna_bits' is of type 'uint8'. So, type casting...

6 månader ago | 1

| accepted

Answered
Unable to generate C code for Gaussian Process Regression Model
Hi Omer Ali, Here are a few basic things to know about the codegen command "-args" option Unlike MATLAB, C++ is a typed l...

6 månader ago | 0

Answered
How to call a function in C++ from library(.so) created by code generation?
Hi Hyunjun Hyung, The C library can be used by a C++ program. In fact, many OS libraries are written in C. Therefore, wheneve...

6 månader ago | 0

Answered
Running parallel code, stuck on "Analyzing and transferring files to workers..."
Hi Mike Pennell, "Analyzing and transferring files to workers." is not an error. By default, batch processing automatically a...

6 månader ago | 1

Answered
Table to MATRIX data Conversion
Hi Sai Gudlur, It looks like the error is originating from 'table2array' function call. As per the documentation, 'table2arra...

6 månader ago | 1

| accepted

Answered
subs a value from gpu to a symbolic function
Hi Tuan Hua, The 'subs' function expects one of the following data types as input inplace of 'q1_value'. Data Types: sym | s...

7 månader ago | 1

Answered
Matlab mex cpp, vectors supported?
Hi Mat Fan, Yes, vectors are supported in MEX. If you want to generate a MEX file from C or C++ code and run it in MATLAB, th...

7 månader ago | 0

Answered
Use MATLAB Coder to convert matlab code to mex without using multi-threading
Hi 梅花, By default, MATLAB Coder generates code in which the parfor loop body runs in parallel using OpenMP. In the code ge...

7 månader ago | 1

Answered
Codegeneration of a harness model with multiple referenced models using a library block/chart with exported functions causes build error function is already defined
Hi Karel Viaene, I understand that your model is referencing 2 other models which uses the same library block. When attempting ...

7 månader ago | 0

Answered
Can I use coder.ceval to call other matlab coded function with dynamic coder::array<> in interface?
Hi Adam Przybyla, It is possible to split the entire code into modules and then generate code for these modules using MATLAB ...

7 månader ago | 1

Answered
Non-static function in generated code
Hi Piotr Sawko, The function 'mymodel_rt_powd_snf' contains the main logic of the model and may have been generated as an ext...

8 månader ago | 0

Answered
Simulink Protected Model and coder.cevel()
Hi Joel Handy, To generate a protected model, try setting the dependent source files and header files information separately ...

8 månader ago | 0

Answered
Building simulink model on Arduino Mega 2560
Hi Filip Poloczek, It seems like there is an error during the build process of your Simulink model for the Arduino Mega 2560 ...

8 månader ago | 0

Answered
Combined Slip Wheel STI Compile Error
Hi Brandyn Pataki, One possible reason for encountering the error is because of input dimension mismatch. As per the "Combine...

8 månader ago | 0

Answered
When I used GPUCoder to compile, I reported an error. When I switched to CCoder, this error was not reported.
Hi 梅花, It looks like a read/write permission error. Follow the below troubleshooting steps to possibly resolve the error. Ma...

8 månader ago | 1

| accepted

Answered
Simulink signal Code generation property
Hi Suleyman, In R2020b, you can set the storage class of a signal using the Code Mapping Editor. Follow the steps below to op...

8 månader ago | 0

Answered
How can I process a Data for PV array module?
Hi ali burak, Yes, It is possible to simulate the PV array module with 24 hours of data. Follow the steps outlined below, Ga...

8 månader ago | 1

Load more