Answered
How to structure a large MATLAB Project with custom MEX Files?
Some advices: Might not be a good idea to store the MEX files in the repo. Use a build machine dedicated to compile. Then your ...

4 years ago | 0

Answered
How to applied 2d gaussian function
Try to contact the auther of the fileexchange function first?

4 years ago | 0

Answered
S-Function Builder: LoadLibrary failed with error 127
On Windows, the env var PATH is used to find the dll to load. Maybe you need to play with this env var? Also does this main_func...

4 years ago | 0

| accepted

Answered
Function outputs inside another function
Why not extend the outputs of your main function to output those information you want? If for some reason that you can't extend...

4 years ago | 1

| accepted

Answered
Use function inside a loop that gives the function's output multiple times - How to avoid overwriting output?
If you want to plot it, you need the array, right? What else do you have in mind then?

4 years ago | 1

| accepted

Answered
How to cut multiple file ans past it to folder?
mkdir 4ASK for i=100:1000 copyfile(['frame4ASK' num2str(i) '.m'], 4ASK)

4 years ago | 0

Answered
How to validate user input in a UITable between three values?
Why not a drop down selection of three values?

4 years ago | 0

| accepted

Answered
Daily average of a temperature
Your avgTemperature is just a scalar, a single point. Maybe you want to plot the data instead? plot(timeStamps, data)

4 years ago | 0

Answered
how do I pause an animation in an App
Try sleep(0.5);

4 years ago | 0

Answered
MacBook Big Sur "Matlab would like to access files in your XXX floder"
Go to your System Preferences->Seucrity & Privacy->Files and Folders, grant access to this matlab App. https://support.apple....

4 years ago | 0

Answered
Why do I receive "The system cannot find path specified." error in Matlab 2018a while trying code generation of a protected simulink model?
Did you try to run it from a Developer Command Prompt window? It seems like it has trouble to find nmake.

4 years ago | 0

Answered
generate random binary number inside a textbox
Try this: n = 0; x = randi([0,1],1,n); y = num2str(x); y = strrep(y, ' ', '') % remove the space between digits if you want ...

4 years ago | 0

Answered
ismember has different length depending on argument order
Type help ismember in the matlab command line window to get quick help. Basically the answer is the same length as the firs...

4 years ago | 1

Answered
How to Set Plot Background Color
Instead of plot(x, y) try area(x, y)

4 years ago | 0

| accepted

Answered
Acquiring a JSON from a webpage
Try this: headers = {'Content-Type' 'application/json'; 'Accept' 'application/json'}; options = weboptions('HeaderFields',head...

4 years ago | 0

Answered
Clarification on the different files generated when packaging MATLAB code as a python package?
Did you check this: https://www.mathworks.com/help/compiler_sdk/gs/files-generated-after-packaging-application-sdk.html

4 years ago | 0

Answered
can not install MATLAB Runtime R2012b on Win10
R2012b might not support Windows 10. Do you have a Windows 7 machine?

4 years ago | 1

Answered
why am I getting matrix dimension error..?
There are several errors typos. clc; clear; close all; d=0.23; theta=40; f=1:18; lambda =3*0.1./f; phaseangle=(2*pi./(la...

4 years ago | 0

| accepted

Answered
Unable to find the location of the pixel with the minimum gray level
A quick guess. Maybe there are more than one minimum? Then you need to decide. Maybe anyone is good enough?

4 years ago | 0

| accepted

Answered
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
Try to initialize Y first? Y = zeros(size_determined_by_your_Data, 6);

4 years ago | 0

Submitted


BarChartRace3D
BarChartRace with 3D effect

4 years ago | 1 download |

0.0 / 5
Thumbnail

Answered
Simple IPC with C/C++ process and Matlab script
How about: The C/C++ program write data into files in a folder The matlab script monitors (unlocked) files in that folder, an...

4 years ago | 0

Answered
Problem with #includes in mex file (seems to find the files, but creates a lot of errors - see below)
Seems like you need to play with the mex include path: mex include path

4 years ago | 0

Answered
Creating ramp signal from -1 to 1
First there is an error in the last line: y = 167; t = 60; x = linspace(0, t, y*t); rampIdx = 2000; s4 = zeros(1, length(x)...

4 years ago | 0

| accepted

Answered
How to test if a number has specific digits in it?
Once you convert it to string, use contains function to check if a digit is there.

4 years ago | 0

Answered
Memory address access to get data write from another application
Does this help: ref

4 years ago | 0

Answered
Help with symbolic substitution
% syms x_1 x_2 x_3 y = (x_1 + x_2 + x_3)^2; yy = expand(y) numerator = (x_1*x_1) + (x_1*x_2) + (x_1*x_3); zz = numerator / ...

4 years ago | 0

| accepted

Answered
Saving an annotated drawrectangle image to the workspace
Use getimage: https://www.mathworks.com/help/images/ref/getimage.html

4 years ago | 1

| accepted

Answered
How to loop over multiple data and save the plot?
Try this: files = dir("*.mat"); for i=1:length(files) clf; file = files(i); load(file.name); plot(x, y); ...

4 years ago | 0

Answered
Error Unbalanced or unexpected parenthesis or bracket.
Missing a space? After "[1" w=sym('w',[1 (xgrid-1)*(ygrid-1)]);

4 years ago | 0

Load more