Harsh - MATLAB Central
photo

Harsh


Last seen: 2 days ago Active since 2024

Followers: 0   Following: 0

Statistics

MATLAB AnswersFrom 08/24 to 05/25Use left and right arrows to move selectionFrom 08/24Use left and right arrows to move left selectionTo 05/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

0 Questions
97 Answers

RANK
2,201
of 298,512

REPUTATION
28

CONTRIBUTIONS
0 Questions
97 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
2

RANK
 of 20,606

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 161,536

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Knowledgeable Level 2
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Simulink coder with in-run configurable
Hi @bac bac, You can create and deploy a MATLAB script with Simulink Compiler to take command line inputs and then use them in ...

2 days ago | 0

Answered
Compilation error of simulink model, that calls a reference model twice
Hi @Ngoc Anh Nguyen, Embedded Coder does not support machine-parented data for code generation. Ther referenced model should al...

2 days ago | 0

Answered
change the built-in synchronous machine models in Simulink from current into voltage sources
Hi @Zakarya, To view and modify the internal current‐source implementation of Simscape’s built-in Synchronous Machine blocks, y...

3 days ago | 0

Answered
View real-time data on voltage, current, power, etc.
Hi @Héctor, To create a MATLAB App Designer application that processes real-time voltage and current data to compute and displa...

3 days ago | 0

Answered
preprocessing steps for ultrasound image for segmentation
Hi @abid wazir To prepare fetal ultrasound images for segmentation in MATLAB, it's essential to preprocess the images to enhanc...

3 days ago | 0

Answered
How to force Embedded Coder to unroll the generated for loop of "For Each Subsystem" in generated code?
Hi @SG, The code generator unrolls loops when the number of iterations is below the threshold set in "Loop unrolling threshold"...

17 days ago | 0

Answered
C code generated for variable size model interface
Hi @vivek patel, To create a variable-sized input in Simulink, follow these steps: Configure the Inport Block: In the "Signal ...

1 month ago | 0

Answered
Simulink coder: blocks value mapping into memory address
Hi @Francesco, To change Simulink parameters when running an executable without needing to recompile, you can modify the genera...

1 month ago | 0

Answered
How can I simulate an active distribution system using the Monte Carlo method in MATLAB?
Hi @Aidin, To simulate an active distribution system using the Monte Carlo method in MATLAB, you can follow the below steps: M...

1 month ago | 0

Answered
For code generation, integer arguments corresponding to the conversion character '%d' must be representable in the target hardware.
In MATLAB, numeric variables are by default stored as 64-bit (8-byte) double-precision floating-point values. This default behav...

1 month ago | 0

Answered
C++ s-function with dynamically sized output, not dependent on input size
Hi @David You cannot change the output port dimensions from the “mdlOutputs” function. In Simulink, any changes to signal dime...

1 month ago | 0

Answered
embeddedcoder error: "Too many input arguments" during C code generation
Hi @Andrea Verdicchio The "Too many input arguments" error during C code generation with Embedded Coder might be due to an unde...

2 months ago | 0

Answered
Customizing Generated Code File Names in Simulink?
Hi @审言, You can use a “Custom token text” to modify the name of the header, source and data files generated during code generat...

2 months ago | 0

Answered
Why is it that when I add an agent to simulink, I get an error indicating that I cannot change the properties
Hi @cm s, Assuming you are referring to the “mlx” file available with the official example from the following documentation pa...

2 months ago | 0

Answered
codegen report.mldatx get *.m files
Hi @Tijn, The "coder.ReportInfo" properties contain information about code generation settings, input files, generated files, c...

2 months ago | 0

Answered
Generating an Executable for Simulink Model using Embedded Coder: Setting Inputs and Displaying Outputs
Hi @ouss_zh, You can set the “Input” and “Output” parameters in the “Data Import/Export” pane of the Configuration Parameters...

2 months ago | 0

Answered
Why wiener and median filter doesnt work after convert with embedded coder in c language?
Hi @Dubravka Lekovic The wiener and median filters that you created might not be working in C due to various reasons: Check ...

2 months ago | 0

Answered
reward error during training
Hi @기범 In Reinforcement Learning (RL), the reward is a signal that guides the agent’s learning by providing feedback on its act...

2 months ago | 0

Answered
Clustering method for electrical load forecasting
Hi @JASMIN OTHMAN, Here are some clustering methods with their advantages and how to implement them in MATLAB – Dynamic Tim...

2 months ago | 0

Answered
Code generation assertion '-1 < fDTypeID' failed in 'b:\matlab\src\slcg_impl\export\include\slcg_impl\rtwgen\rtwsignal.hpp:207'
Hi The error "Code generation assertion '-1 < fDTypeID' failed" in MATLAB typically occurs due to data type mismatches within ...

2 months ago | 0

Answered
Neural network for lab streaming layer emotiv
Hi @Richard, You can setup Lab Streaming Layer (LSL) for MATLAB by using the “MATLAB interface for liblsl” and resolve the EEG...

2 months ago | 0

Answered
Is there any way to compute the number of trainable parameters from code in a deep CNN network?
Hi @krishna Chauhan, You can calculate the number of trainable parameters in your Convolutional Neural Network (CNN) model usi...

2 months ago | 0

Answered
Extraneous codegen function definition without associated type definition
Hi @Andrew, The “RootIOFormat” parameter controls how root-level inputs and outputs are handled in the generated C code. It ca...

2 months ago | 0

Answered
Converting a MATLAB builtin function to C using MATLAB coder
Hi @Juan D Guerrero, The “lowpass” function is not supported for code generation in MATLAB. You can use a different approach ...

2 months ago | 0

Answered
how to Specify the arguments of imfilter in codegen function ? how to call it with the right parameters ?
Hi @Khaled Aldayeh, The “coder.ceval” function can only be used in the generated code. Therefore calls made to “coder.ceval” i...

2 months ago | 0

Answered
Trying to capture the build summary using ert_make_rtw_hook
Hi Dawn, Consider the following approaches to capture the build summary: Wrap everything inside your “parfor” in a function....

3 months ago | 0

Answered
Similink create 2 Initialize Procs
Hi @hoa phan, You can remove the zero-initialization code for internal data in the following ways: Open the Configuration Pa...

3 months ago | 0

Answered
How to save to mat file sequentially using a loop and simout?
Hi Gustavo, The output from “sim” function is an object which should be stored in a cell array. Furthermore the “filename1(i)...

3 months ago | 0

Answered
Constant Value Output from matlab Function Block in Simulink
Hi @Daniele Nanni, The “find” function may return an empty array if no elements satisfy the given condition. To resolve this er...

3 months ago | 0

Answered
Simulink Code Generation Error: Array of Classes Initalization
Hi @MU, The errors you are receiving are because of the variables not being properly instantiated before using them. Please r...

3 months ago | 0

Load more