Answered
How can I accelerate Deep learning training in Macbook M4 GPU/ANU?
It is correct that Deep Learning Toolbox training acceleration only works with NVIDIA GPUs. Unfortunately your hardware and sof...

2 months ago | 1

Answered
Distribution name 'Lognormal' is unrecognized
It sounds as if you have Simulink Design Optimization installed, getting https://www.mathworks.com/help/sldo/ref/makedist.html b...

2 months ago | 0

Answered
How can I fit data to a piecewise function, where the breakpoint of the function is also a parameter to be optimised?
(a1*x.^2 + b1*x + c1) .* (x <= d) + (a2*x.^2 + b2*x + c2) .* (x > d) Note that for this to work, the coefficients must be const...

2 months ago | 0

Answered
Comparison PDE solve and \ mldivide
model.MaterialProperties(ThermalConductivity=46.5, MassDensity=7800, SpecificHeat=.502); That is invalid. It is converted inter...

2 months ago | 0

Answered
Where is the algebraic loop coming from?
The ready_out of toRAM_interface is an output. You send that to ready_in of the FIFO. Meanwhile, the FIFO has lines that are inp...

2 months ago | 1

| accepted

Answered
Distinguish between ASCII and Binary
ASCII files will contain characters in the positions: 9 (tab), 10 (newline), 13 (carriage return), and 32 (space) to 126 (tilde...

2 months ago | 0

Answered
simulink_root does not have a parameter named 'PaperType'
R2022b reports Warning: Getting parameter 'PaperType' of the default block diagram will not be supported in a future release. ...

2 months ago | 1

| accepted

Answered
Is it possible to achieve a 50% duty cycle while dividing a clock by a fractional number like 1.5?
You can only get 50% duty cycle if you divide the 1.5 by a further 4/3. That is, 3/2 * 4/3 == 2 and you need to end up with a di...

2 months ago | 0

Answered
asking about how to arrange 1000 EV with 8760 hours
num_EV = 1000; total_duration = 8760; longest_ev_duration = 71; %adjust as appropriate start_times = randi(total_duration, n...

2 months ago | 0

Answered
How to interpolate 10 csv files with different x,y,z into a common grid and average them in MATLAB?
There are a few main approaches: find the aggregate minimum and aggregate maximum over all of the x (y, z) values. Use linspace...

2 months ago | 1

Answered
Unable to find the Specialized Power Systems group in simscape electrical in newer version r2025b
It was removed. This fact does not appear in the release notes. I only know this because I happened to load a model that used ...

2 months ago | 5

Answered
An N by N by N matrix code
N = 20; %for example Letter = 'D'; %for example Array3d = repmat(Letter, N, N, N);

2 months ago | 0

Answered
How to make loop where numbers in a line of code is filled in for me?
It is recommended that you do not write a loop for that. https://www.mathworks.com/matlabcentral/discussions/tips/849901-tutori...

2 months ago | 1

Answered
How to Bypass OneDrive Files Download
There is a work-around, but you are not going to like it. The work-around is to not navigate to save your script. Instead, save...

2 months ago | 0

Answered
MATLAB r2018a version required
Visit https://www.mathworks.com/downloads/ . On the upper left side, there is normally a drop-box labled "Select release". Use t...

2 months ago | 0

Answered
COBRA cannot read .xml model
size() returns a vector with at least two elements. Historically, the colon operator ignored everything except the first element...

2 months ago | 0

| accepted

Answered
hi guys, can i edit a .sfx file by matlab scripts?
It is possible to edit a .sfx file by using a script. .sfx files are zipped XML files, so you would unzip the .sfx file, edit th...

2 months ago | 0

Answered
Use of Esp32 xiao c3 with Matlab.
See https://www.mathworks.com/help/simulink/supportpkg/arduino_ug/add-custom-esp32-arduino-compatible-boards-to-support-package....

2 months ago | 0

Answered
Polyfit isn't adjusting to decreasing sinoidal data
[p, S] = polyfit(timeData, gyroYData, 50); Your time data ranges from 0 to 16. With a 50 degree polynomial, and without using...

2 months ago | 0

Answered
I have a Simulink circuit, with multiple components, how do I name the components?
If you use drag-and-drop or insert-from-library or you start typing the component type name on the model, then the component wil...

2 months ago | 0

Answered
try catch not working with addinput (data acquisition toolbox)
Error using matlabshared.asyncio.internal.MessageHandler/onError We can deduce from the error message that it is performing an ...

2 months ago | 1

Answered
How do I disable rapid accelerator mode so I can build an exe from simulink?
https://www.mathworks.com/help/simulink/ug/performing-acceleration.html implies that you set the APPS "Acceleration" setting to ...

2 months ago | 0

Answered
Precision Loss in Arithmetic Encoding of Binary Vectors for Reversible Data Hiding in 3D Meshes
I speculate that you are converting 64 bits at a time to binary, constructing a 64 bit integer from that, dividing it by 2^64. ...

3 months ago | 0

Answered
Is Helvetica available on every MATLAB platform?
The traditional way of handling this was to create a uicontrol and set the text string and font properties of the uicontrol, and...

3 months ago | 0

Answered
alternative approach of "insertObjectAnnotation" function
insertObjectAnnotation from the Computer Vision Toolbox is used to insert text into an array, retaining full resolution of the a...

3 months ago | 0

Answered
Parpool thread-based pool size
With that particular number of physical cores (14), chances are high that you have a mix of "performace" cores and "efficiency" ...

3 months ago | 0

| accepted

Answered
Problem on startup. MacMini M4, Sequoia 15.6.1
Your MATLAB is having trouble communicating with the Service Host. See https://www.mathworks.com/matlabcentral/answers/1815395-w...

3 months ago | 0

Answered
How can I supply input value interactively in MATLAB?
input or menu or inputdlg or questdlg or listdlg ... among others.

3 months ago | 0

Answered
Different runs producing the same structure/data HDF5 file lead to different md5sum hash digests. How to solve it?
HDF5 objects have unique object identifiers, but there is no requirement that two HDF5 files written the same way use the same o...

3 months ago | 0

Answered
visadev - how to know bytes available
You can configureTerminator followed by readline If your data is binary then you could uint8(char()) the readline() string res...

3 months ago | 0

Load more