Answered
about write data to the first sheet of excel
Hi @wenchao zhang, I suppose you want to write some data to a specific sheet, here's a sample code you can refer to, which also...

5 maanden ago | 0

| accepted

Answered
What is the cause of the error using privimporthdl when converting verilog to simulink?
Hi @Panagiotis Mougkogiannis, This error is due to the use of Verilog-A code instead of synthesizable Verilog code when trying...

5 maanden ago | 0

Answered
how to convert .json to .mat file
Hi @VINAY, You can decode a JSON file in MATLAB, manipulate or format the data as required, and then save it in a MAT file. MAT...

6 maanden ago | 0

Answered
Clear static text after press a push button
Hi @Ken I am not familiar with the specific code you're referencing to create the calculator. Therefore, I experimented with a ...

6 maanden ago | 0

Answered
creating hyperbolic tangent function for matrix based on another matrix
Hi @Kitt, I roughly understand that you want to create a mathematical model that uses hyperbolic tangent function to smoothly v...

6 maanden ago | 0

| accepted

Answered
How to code for PS5 in matlab ? is there any library present .
Hi @PRASHANT, To do this, you would need to download Simulink Support Package for Arduino Hardware. Refer to this documentation...

6 maanden ago | 0

Answered
how to set parameters for ble connection in matlab
Hi @Manuel Stoppiello, You can refer to the following documentation page to know about multimode communication for BLE(Bluetoot...

6 maanden ago | 0

Answered
Unwanted axis in the figure
Hi Florian, To execute the code you provided, it requires the '1mDyn440Hz.wav' file. However, in the absence of this file, I've...

6 maanden ago | 0

Answered
Hello, How can I make the output timetable look similar in the photo, so it will 901*1 instead of 901*3
Hi @Reham Wafaee, You can modify last couple of lines in following way to get desired, add/modify the last couple of lines to u...

6 maanden ago | 1

Answered
How to use Solver in Matlab?
Hi @Yasaswi You can easily work with Excel files and solve optimization problems in MATLAB. Start by importing your Excel data ...

6 maanden ago | 1

| accepted

Answered
JSON format from the API
Hi @Mert, I generated an API key from https://home.openweathermap.org/api_keys and tried a simple MATLAB function, from which I...

6 maanden ago | 0

| accepted

Answered
Is it possible to use tiledlayout to create a figure with plots and a PDF image? (per attachment)
Yes, it's possible to combine plots and vector images (such as PDF images) within a figure using tiledlayout and nexttile in MAT...

6 maanden ago | 0

| accepted

Answered
How to make binary to gray scale
Hi, To create a grayscale gradient from the center to the edge of your circle, you'll adjust the pixel values based on their d...

6 maanden ago | 0

| accepted

Answered
Read excel data in Simulink and convert it into an array
Hi Aniruddh, It appears you're using the %#codegen directive, which serves as a pragma to indicate your intention for code gene...

6 maanden ago | 0

Answered
plot in designated subfigures in loops
You can use tiledlayout and nexttile to create a tiled chart for multiple layouts. Refer to the documentation for more informat...

6 maanden ago | 1

| accepted

Answered
How to wrote code for Ramp Filter and show the firgure?
I am assuming that the filter is linear in frequency domain, i.e., it amplifies the frequency components linearly w.r.t frequenc...

6 maanden ago | 0

| accepted

Answered
Error in Trying to Build a Custom Variable Resistor In MATLAB Simulink
Hi Elias, When attempting to use your provided code within MATLAB R2023a, I encountered an error within the Block Parameter dia...

6 maanden ago | 1

| accepted

Answered
Error while running monitor and tune on zedboard using matlab_2023 and xilinx2019.2
Hi Anuj, To get the "Configure, Monitor & Tune" option working, you need to build your model with socBuilder as the error sugg...

7 maanden ago | 0

Answered
Squeeze some part of a plot
Hi Lida, I don't think MATLAB provides built-in functionality for such specific non-linear axis adjustments. But one can approx...

7 maanden ago | 0

Answered
Gamultiobj and NSGA ii
NSGA-II is a widely used algorithm for solving multi-objective optimization problems. It is known for its efficiency in finding ...

7 maanden ago | 0

Answered
How does gamultiobj() take care of single objective optimization problem?
Hi Dhanesh, gamultiobj function in MATLAB designed for solving multi-objective optimization problems using genetic algorithms. ...

7 maanden ago | 0

| accepted

Answered
Parse error in matlab2tikz
Hi Bell, The error you're encountering with matlab2tikz suggests that there's an issue with how the function's arguments are be...

8 maanden ago | 1

| accepted

Answered
Code Generation with some unnecessary code
Hi Tao, I understand you want to know why there are 'uncessary' shifts involved in generated C code for addition MALTAB script....

8 maanden ago | 0

Answered
AXI Manager over PCIe Example
Hello Andrea, It seems like the issue you're encountering revolves around accessing the specific example and the associated pci...

8 maanden ago | 0

| accepted

Answered
Cant Build Model due to Reason: "Code generation information file does not exist"
Hi Marcel, I guess you are having issues while deploying a Simulink Model to a Raspberry Pi device due to the missing "rtw_cont...

8 maanden ago | 0

Answered
Problem with network class variable on Matlab Function on Simulink
Hi Haritz, It looks like you're encountering limitations due to MATLAB Function blocks not supporting the direct use of certain...

9 maanden ago | 0

Answered
Embedded Coder Bug: Not using return value of code-generated "Prelookup" function
Hi Gabriel, Regarding the unused return value from the prelookup function, I assume you have already checked the model configur...

9 maanden ago | 0

| accepted

Answered
What is involved in the design and creation of this SoC Builder example "Receive Signal Waveform using DDR4 on Xilinx RFSoC device"?
Hello Stephen, The design you're referring to, as outlined in the documentation, utilizes both the DSP System Toolbox and the S...

10 maanden ago | 0

Answered
Velodyne Lidar Code Generation
Hello Ahmed, I understand you're navigating through the process of working with your Velodyne LiDAR sensor and the NVIDIA Jetso...

10 maanden ago | 0

Answered
Incorporating C2000 driver library code in Simulink Stateflow.
Hi Sajid, I understand that you want to maintain a separation of concerns in your design. For your case, I assume that many co...

10 maanden ago | 0

Load more