Answered
what block does simulink C2000 code generation supported?
Hi Ziyuan, You can find all the supposrted blocks for C2000 from the MathWorks documentation webpage by searching for "Support...

5 months ago | 0

Answered
3-phase programmable voltage source output
Hi Abhibrata, When you set a 3-phase voltage source to 600V Phase-to-Phase (Vrm Ph-Ph) and measure the Phase-to-Ground voltage...

5 months ago | 0

| accepted

Answered
GLCM feature extracted image display
Hi Vimal, You can output images for GLCM calculated features for optical images by using MATLAB script. You will need to read ...

5 months ago | 0

Answered
Can I use matlab to write and execute 8051 assembly language programs?
Hi Rekha, I see that you are looking if it is possible to write and execute 8051 assembly language programs using MATLAB. No...

5 months ago | 0

Answered
Write a string to hdf5 file with defined string length
Hi Kuang, I see that you want to define the String length to a contant length for the hdf5 file. To define a string with a fix...

6 months ago | 0

| accepted

Answered
How do I simulate the following differential equation of a thermal system in Simulink?
Hi Carla, I see that you are looking for a way to model the attached differential equation in Simulink. For a thermal system, ...

6 months ago | 0

Answered
use MATLAB Coder to convert matlab code to mex
Hi Zewen, I see that you are facing the error ''Unrecognized function or variable 'main' ". The error message "Unrecognized f...

6 months ago | 0

Answered
Renaming of image filenames inside the folder
Hi, Assuming that all of the '.bmp' files are stored in the same folder, the renaming can be done using a MATLAB script using ...

6 months ago | 0

| accepted

Answered
How can I reset my arduino board using a gui button in matlab?
Hi Cristina, I understand that you are looking for a way to reset the arduino board by using a GUI button in MATLAB. It is pos...

7 months ago | 0

Answered
How to interpolate a smaller size matrix to a larger size matrix without getting NaN values?
Hi SNIreaPER, I see that you are facing issues with interpolating the old matrix(101x101) to the new matrix (1001x1001) where ...

8 months ago | 2

| accepted

Answered
How can I do the x-axis labeling with non-numeric values ​​in a bar chart in Excel?
Hi Marco, I see that you are trying to control Excel from MATLAB and configure the chart's axes, titles and main title. As I c...

8 months ago | 0

Answered
The compute fft does not function properly in the powergui fft anyyzer.
Hi 예빈 임, I see that you're using the FFT Analysis tool in the Powergui block in Simulink and you encounter an issue where no d...

8 months ago | 1

Answered
How to Debug Python Script (using breakpoints) that is called from Matlab on MAC OS
Hi Sammed, I understand that you are tryying to find a way to debug python code from MATLAB. Since Visual Studio is retiring f...

8 months ago | 0

Answered
time -independent-Schrodinger-like-1D-pde
Hi Pritha, I see that you are looking for a way to solve time-independent Schrödinger-like 1D Partial Differential Equation. S...

8 months ago | 1

Answered
How can I incorporate both the x-axis and a reversed y-axis without altering the plot but only adjusting the orientation of the axes?
Hi Rabih, I understand that you want the matrix to reamin the same while the y-axis is flipped. In order to flip the labeling ...

9 months ago | 0

Answered
Change BDF 2 step method into BDF 4 step method
Hi, I see that you have a 2-Step BDF and are looking to change it to a 4-Step BDF method. In order to do so, you need to adjus...

9 months ago | 0

Answered
Sample time and stop time in the generated code of Simulink model
Hi Marco, I see that you are integrating generated code from a Simulink model with external code. While doing so, it's importa...

10 months ago | 0

Answered
How can I integrate HF component and LF component of an image in matlab?
Hi Nasseba, I understand that you want to integrate the HF and LF component of the image using MATLAB. This can be easily done...

10 months ago | 0

Answered
How to code a discrete rotating switch from simulink into matlab
Hi, As I can understand from the description, you are facing an Algebraic Loop error. You are not sure whether you have an is...

10 months ago | 0

| accepted

Answered
init function for each SWC mandatory in autosar?
Hi Vivian, I understand that you are trying to map the SWC to AUTOSAR code generator and are getting the “init[NM1] ” function...

10 months ago | 0

Answered
我在生成c代码的时候遇到了这样的问题,有没有大神可以帮忙看看,感激不尽!!!!
Hi 艳荣, 请注意,我会用英语回答,因为中文不是我的主要语言。 (Please note that I will answer in English as Chinese is not my primary language) As I ...

11 months ago | 0

Answered
Sending values from a DialogApp to MainApp, Appdesigner
Hi Furkan, The code you provided seems to be an attempt to pass values from a dialog app to a main app in MATLAB App Designer....

11 months ago | 0

Answered
Best way to create an office room in Matlab
Hi Bobby, I understand that you are trying to create a 3D model of an office room in MATLAB using .ply files and need a way to...

11 months ago | 0

Answered
How to generate surface of revolution from Bezier curve
Hi Jinesh, I understand that you are trying to create a surface by revolving the Bezier curve that you have made. The approach...

11 months ago | 0

Answered
Simulating a 2D- Gaussian field. Results are not what I expected
Hi Dave, I understand that you’re trying to simulate a Gaussian field from an RBF kernel and want to figure out the issue with...

11 months ago | 0

Answered
Cannot open a script file after running a code (Mac M1 silicon)
Hi Sangheon, I see that you are facing issues with respect to the MATLAB editor, where the scripts are appearing blank after r...

11 months ago | 0

Answered
Can I have different sample times for my RL agent?
Hi Calogero, I understand that you're facing a trade-off between having a fast response for your isDone flag and providing the...

12 months ago | 0

Answered
How make a GUI using App designer to visualize pressure sensor data
Hi Anoop, I understand that you want to plot the data that is getting generated from the Arduino’s pressure sensor. Cre...

12 months ago | 0

Answered
Why Simulink "To Workspace" block doesn't create timeseries data?
Hi Khalid, As I understand, you are unable to create timeseries data using the “to workspace” Simulink block while saving dat...

1 year ago | 0

Answered
How to get and plot boundary/vertex of drawn polygon
Hi Michael, I see that you are having issue with the Coordinates while using the ‘drawpolygon’ method where the coordinates a...

1 year ago | 0

Load more