Answered
Matlab-Catia-Link with Matlab2024b
MATLAB 2024b introduced changes in how COM objects are wrapped and returned. In earlier versions (like 2022b), MATLAB provided m...

2 months ago | 0

Answered
Problems passing external input data into root-level Inport
The error is due to the external input structure not being set up correctly. In your code, uStruct.time is left empty, which cau...

2 months ago | 0

| accepted

Answered
The plotting function implicit3 fails to render under certain conditions. Notably, for sphere larger than a certain amount.
The issue here is likely due to fimplicit3’s default mesh resolution not being sufficient when the plotting range becomes very l...

2 months ago | 1

| accepted

Answered
trouble with Ask a Question
One way to resolve this is to adjust your ad blocker settings in Safari—either disable it temporarily or add mathworks.com to yo...

2 months ago | 0

Answered
Deep Learning HDL TOOLBOX does not support PLEthernet?
No, Deep Learning HDL Toolbox does not support PLEthernet. The toolbox is specifically designed for converting deep learning net...

2 months ago | 0

| accepted

Answered
Should mldivide Return a Solution for Square, Rank-Deficient, but Consistent Set of Linear Equations?
Hey Paul, Good question. mldivide (\) is supposed to find a solution when one exists, but when A is square and singular, MATLAB...

2 months ago | 0

Answered
fatal error on startup
Hey Baptista, This error usually happens when MATLAB's Java environment is corrupted or there are issues with the installation....

2 months ago | 0

Answered
Train Multiple Agents for Area Coverage , how to move agents to predefined destinations
Hey Nik, The example you linked trains agents to maximize coverage, but if you want agents to move to specific predefined desti...

2 months ago | 0

Answered
Speeding up BLE packet collection?
Hey Taylor, You're likely hitting a bottleneck in how MATLAB handles BLE notifications. By default, MATLAB's BLE communication ...

2 months ago | 0

Answered
How do I make ports in RF toolbox with complex port impedances?
Hey Tony, Here’s how you can set one port to 10 + 5j ohms while keeping another at 50 ohms: ckt = circuit("cir"); addport(ckt...

2 months ago | 0

Answered
How to expand lat/lon vectors into arrays for scatter plot
Hey Kurt, It looks like your 1D lat/lon vectors define a grid where the observations in ncData are located. To expand them into...

2 months ago | 0

| accepted

Answered
How do I change the system-wide figure resolution in Matlab using startup script file?
Hey Shishir, You're on the right track, but MATLAB does not have a built-in system-wide setting to enforce 300 dpi for all expo...

2 months ago | 0

| accepted

Answered
While using the Zaber Motors Example Matlab code, the code does not run, or when it runs it does not stop.
Hey Samantha, It looks like you're running into two separate issues with the Zaber motion control library: moveRelative is not...

2 months ago | 0

Answered
Drawing a line between two dynamic points
Hey Rauf, You're on the right track—you can't draw a line directly on a uifigure, but you can draw it on UIAxes. The key here i...

2 months ago | 0

| accepted

Answered
Simulink Model S-Function Generation Gives Error with MSVC Compiler in VS cstring file
This issue appears to be caused by a conflict between MATLAB’s generated code and the Visual Studio 2019 MSVC compiler's standar...

2 months ago | 1

Answered
In functional preprocessing, can co-registration FMRI images in the SPM using a template instead of the anatomical image of the subject?
Yes, it is possible to use a template image for co-registration in SPM instead of the subject’s own anatomical image, but there ...

2 months ago | 0