Respondida
Can we generate C++ code from Simulink models from bash or PowerShell command line?
You can execute matlab code non-interactively using the command line with the "-batch" commandline option. Create a MATLAB scrip...

12 meses hace | 0

Respondida
Distinguish incomplete and complete triangles from a given image and display their respective numbers
You can start by identifying all polygons through the calculation of connected components. This can be achieved using the "bwcon...

12 meses hace | 0

Respondida
MATLAB code for counting number of children and adult in a video
Assuming there is no perspective distortion, a reliable method to differentiate between children and adults in an image is by us...

12 meses hace | 0

Respondida
How to get Precision, Recall,ROC,F_Mesure?
The function "perfcurve" accepts 3 arguments: a vector of classifier predictions, given true class labels, and the positive clas...

alrededor de 1 año hace | 0

Respondida
Record 2 USB video at the same time
When recording video from USB cameras, using a timer can lead to inaccuracies in the video duration. Timers in MATLAB can be unr...

alrededor de 1 año hace | 0

Respondida
Save 3d surface plot as u3d or .ply file
To save a 3D surface plot as a .PLY file from your given "Surface" object "M", you can use the "pcwrite" function (https://www.m...

alrededor de 1 año hace | 0

Respondida
A* algorithm for network traffic congestion
To implement the A* algorithm for route forecasting with less network traffic congestion in MATLAB R2018a, you can use resources...

alrededor de 1 año hace | 0

Respondida
Instantiate a Java Class and call Matlab Engine API for Java in the same session
This workflow is supported starting with MATLAB R2021b. You can find more details in the version history here: https://www.mathw...

alrededor de 1 año hace | 0

Respondida
How can I obtain the variability of different values of a categorical variable by separating into strata?
I believe your equation is missing the category variable "Material" as a random effect, adding which will allow you to capture v...

alrededor de 1 año hace | 0

Respondida
Connection via TCP/IP with Arduino nano 33iot and Simulink
The error you experienced suggests that the already running simulation disconnects from the Arduino when you attempt to establis...

alrededor de 1 año hace | 0

Respondida
Why are some commands blocked in Matlab Grader, e.g. system?
MATLAB Grader restricts certain commands for the purpose of cheating prevention and security reasons. These commands can alter t...

alrededor de 1 año hace | 0

Respondida
connect Simulink with Arduino using Simulink Arduino support package
Communicating with pins on an Arduino from Simulink is typically done using Connected IO mode, which you can learn more about at...

alrededor de 1 año hace | 0

Respondida
Install Previous version of matlab
Hi Lawrence, You can have multiple versions of MATLAB installed on the same machine, no special steps are required. You can ref...

alrededor de 1 año hace | 0

Respondida
Design view doesn't match how the actual app looks like
This is a known issue in MATLAB versions R2024a and R2024b. You can find more information about this issue in the bug report at:...

alrededor de 1 año hace | 0

Respondida
How to label data for data train deep learning.
Unfortunately, it seems the J0ACSC PET 1HR dataset you provided does not have any labels for reference. I assume you are trying ...

alrededor de 1 año hace | 0

Respondida
Feedforward Neural Network with Sliding Windows approach to forecast output values
To forecast future values using neural networks with a sliding window approach, you may want to consider models that are specifi...

alrededor de 1 año hace | 1

| aceptada

Respondida
Plotting hist3 atop one another with separate colormaps
A practical method for overlaying two plots with different colormaps is detailed here: https://www.mathworks.com/matlabcentral/a...

alrededor de 1 año hace | 0

Respondida
Simulink Runtime Issues with Simscape Battery Toolkit
I tried profiling the model, but due to its complexity, it requires manual optimization. To address the performance issues in yo...

alrededor de 1 año hace | 0

Respondida
How to turn off anti-aliasing in figure text (legend, axes label) on Matlab R2014b ?
Antialiasing for axes can be turned off globally as demonstrated in this MATLAB Answer: https://www.mathworks.com/matlabcentral/...

alrededor de 1 año hace | 0

Respondida
Error Creating LCD Addon example
The attached code files have some deviations from the documented tutorial, which include: missing variable definitions missing...

alrededor de 1 año hace | 0

Respondida
Error doing Arduino LCD Addon
The error being encountered is due to the constructor in the "LCDAddon" class requiring exactly 7 arguments. I have attached a s...

alrededor de 1 año hace | 0

Respondida
R2024b - simulink arduino support package for arduino
I encountered the same issue in MATLAB R2024b. To allow parameter changes while using "Monitor and Tune", go to Configuration Pa...

alrededor de 1 año hace | 0

Respondida
TI Radar Toolbox with DCA1000EVM Connection - Continuous error occurs when attempting to connect with an Ethernet cable
Your network adapter and Windows Firewall settings indicate that the local IP address of your Windows machine is "192.168.33.30,...

alrededor de 1 año hace | 0

Respondida
Is it possible to use undistortImage using a custom image I have?
MATLAB's "undistortImage" function requires accurate camera intrinsic parameters (https://www.mathworks.com/help/vision/ref/undi...

alrededor de 1 año hace | 0

| aceptada

Respondida
Simulink Conversion from uint8 to ASCII/Char
The serial data is being sent as a string datatype, which is then interpreted as its ASCII values. It appears that you are using...

alrededor de 1 año hace | 0

Respondida
Why does the mdlOutputs block in S-functions only execute when there is a change in the input values?
To clarify, “mdlCheckParameters” does not check for changes in inputs; it verifies the validity of the S-Function parameters. Pa...

alrededor de 1 año hace | 0

| aceptada

Respondida
Remove scratches from binary image
Hi Adrian, To remove the unwanted scratches from a binary image while preserving other objects, we need to focus on the contour...

alrededor de 1 año hace | 0

Respondida
Confusion of sum of two matrices on SIMULINK
The "From Workspace" block in Simulink expects data in a timeseries format, where the first column is treated as timestamps. Thi...

alrededor de 1 año hace | 0

Respondida
How can I access a Simulink Real-Time (SLRT) Speedgoat target computer through a LTE router?
Hi William, I understand that you are experiencing difficulties establishing a connection with your Speedgoat target through an...

alrededor de 1 año hace | 0

Respondida
convert binary map from pixel to geometric
Hi Mohammed, As per my understanding, you are trying to extract geometric coordinates of rectangles from an RGB JPEG image usin...

más de 1 año hace | 0

Cargar más