Answered

MCC USB-231 DAQ Digital I/O

USB-231 is not a supported device. https://www.mathworks.com/matlabcentral/answers/2132986-mcc-usb-231-compatibility-with-simul...

MCC USB-231 DAQ Digital I/O

USB-231 is not a supported device. https://www.mathworks.com/matlabcentral/answers/2132986-mcc-usb-231-compatibility-with-simul...

11 days ago | 0

| accepted

Answered

The Output structure of a code is showing different outputs in command window and workspace

The command window version is the result of an implicit execution of the display method. The display method examines the object ...

The Output structure of a code is showing different outputs in command window and workspace

The command window version is the result of an implicit execution of the display method. The display method examines the object ...

11 days ago | 0

| accepted

Answered

Does SoC Model Creator support only Vivado 2020.2?

Vivado 2023.1 requires R2023a. https://www.mathworks.com/matlabcentral/answers/518421-which-versions-of-xilinx-vivado-are-suppo...

Does SoC Model Creator support only Vivado 2020.2?

Vivado 2023.1 requires R2023a. https://www.mathworks.com/matlabcentral/answers/518421-which-versions-of-xilinx-vivado-are-suppo...

12 days ago | 0

Answered

Error message when using timers in AppDesigner after a few seconds running

'TimerFcn', @app.timerTest); the timer will be created with a TimerFcn that is a function handle to a function that expects two...

Error message when using timers in AppDesigner after a few seconds running

'TimerFcn', @app.timerTest); the timer will be created with a TimerFcn that is a function handle to a function that expects two...

12 days ago | 0

Answered

Why does the error at the bottom show up even though the correct dataset seems to be selected?

Your values in the table are scalars. You cannot create response variables from scalars.

Why does the error at the bottom show up even though the correct dataset seems to be selected?

Your values in the table are scalars. You cannot create response variables from scalars.

12 days ago | 0

Answered

Confusion of IMAQ, get data "logging"

Before getdata has been invoked, the images either do not exist (for cameras that do not have an automatic shutter) -- or else t...

Confusion of IMAQ, get data "logging"

Before getdata has been invoked, the images either do not exist (for cameras that do not have an automatic shutter) -- or else t...

12 days ago | 0

Answered

Error when using "retime" function MATLAB 2024a.

One of the timetables contains a variable named INV1Spd but that variable is not type single or double. You should check that t...

Error when using "retime" function MATLAB 2024a.

One of the timetables contains a variable named INV1Spd but that variable is not type single or double. You should check that t...

13 days ago | 0

Answered

dicomreadVolume 'Directory was not readable' error

You would get that error if MATLAB cannot find the given file on the MATLAB path. Typically, that means that you specified the ...

dicomreadVolume 'Directory was not readable' error

You would get that error if MATLAB cannot find the given file on the MATLAB path. Typically, that means that you specified the ...

13 days ago | 0

Answered

Using output of a function into the integral2 Function - Unrecognized function or variable

U_Rad is defined only as the nominal output variable of function Cuts. You call E_Plane(n) = Cuts(loop_theta, phi_E); ...

Using output of a function into the integral2 Function - Unrecognized function or variable

U_Rad is defined only as the nominal output variable of function Cuts. You call E_Plane(n) = Cuts(loop_theta, phi_E); ...

13 days ago | 0

| accepted

Answered

Which MATLAB license should I buy as a reseacher working in an NGO?

You cannot use a Student license or a Home license for your research work. Officially you will need to get a Standard license (...

Which MATLAB license should I buy as a reseacher working in an NGO?

You cannot use a Student license or a Home license for your research work. Officially you will need to get a Standard license (...

14 days ago | 1

Answered

Please I want help I have homework I made a mistake saving the file

Sorry, the code is gone. The one remaining hope is that an .asv might have been saved in the same directory as the file. https...

Please I want help I have homework I made a mistake saving the file

Sorry, the code is gone. The one remaining hope is that an .asv might have been saved in the same directory as the file. https...

14 days ago | 0

Answered

Displaying figure from function in MATLAB gui

function Plot(Val, ax) X = [0:0.5:5]; Y = [0:0.1:1]; [x,y] = meshgrid(X,Y); z1 = [x.*y.*57.5]; ...

Displaying figure from function in MATLAB gui

function Plot(Val, ax) X = [0:0.5:5]; Y = [0:0.1:1]; [x,y] = meshgrid(X,Y); z1 = [x.*y.*57.5]; ...

15 days ago | 0

| accepted

Answered

solving symbolic equations with partial derivatives

You need to create a function, theta, and express the other functions in terms of theta, and then use functionalDerivative

solving symbolic equations with partial derivatives

You need to create a function, theta, and express the other functions in terms of theta, and then use functionalDerivative

15 days ago | 0

Answered

Difficulty in plotting equation in matlab

N = 1.15; k = 1.38e-23; q = 1.6e-19; Vgo = 1.174; Rso = 0.085; Iso = 21.6e-15; alphao = 0.0165; Rth = 1; T_ambient...

Difficulty in plotting equation in matlab

N = 1.15; k = 1.38e-23; q = 1.6e-19; Vgo = 1.174; Rso = 0.085; Iso = 21.6e-15; alphao = 0.0165; Rth = 1; T_ambient...

16 days ago | 0

Answered

Error in ode15s

[t,T]=ode15s(@f,t,IC); ode15s is to invoke function f, passing it time in the first parameter and passing initial conditions in...

Error in ode15s

[t,T]=ode15s(@f,t,IC); ode15s is to invoke function f, passing it time in the first parameter and passing initial conditions in...

16 days ago | 0

Answered

How can I use selections from multiple uidropdowns as function inputs?

Inside the plotting function, access the uidropdown value property directly for the two controls. xval = app.XDropDown.Value; ...

How can I use selections from multiple uidropdowns as function inputs?

Inside the plotting function, access the uidropdown value property directly for the two controls. xval = app.XDropDown.Value; ...

16 days ago | 0

Answered

The blank before var >0.5 cause error in R2016a

You are running into Command Function Equivalence https://www.mathworks.com/help/matlab/matlab_prog/command-vs-function-syntax.h...

The blank before var >0.5 cause error in R2016a

You are running into Command Function Equivalence https://www.mathworks.com/help/matlab/matlab_prog/command-vs-function-syntax.h...

16 days ago | 0

| accepted

Answered

When plotting multiple subplots in the for loop, how do you stop the axes from overlapping?

ax1 = axes(t); That either creates a new axes for the figure number or figure handle is given in t, or else actives the...

When plotting multiple subplots in the for loop, how do you stop the axes from overlapping?

ax1 = axes(t); That either creates a new axes for the figure number or figure handle is given in t, or else actives the...

17 days ago | 0

Answered

uigetfile canceled returns 0, converting my string to a scalar

if isnumeric(infile) instead of testing == 0

uigetfile canceled returns 0, converting my string to a scalar

if isnumeric(infile) instead of testing == 0

17 days ago | 0

| accepted

Answered

How can I execute the empirical mode decomposition (emd) syntax in MATLAB R2016b?

The emd() function was introduced in MATLAB R2018a.

How can I execute the empirical mode decomposition (emd) syntax in MATLAB R2016b?

The emd() function was introduced in MATLAB R2018a.

17 days ago | 0

| accepted

Answered

Can I use a student license if I am not currently enrolled in courses?

Officially, you can only use the Student license to complete course work. As you currently are not taking any courses, officiall...

Can I use a student license if I am not currently enrolled in courses?

Officially, you can only use the Student license to complete course work. As you currently are not taking any courses, officiall...

17 days ago | 0

Answered

How to use contourf to plot a mesh not generated in matlab, i.e. imported mesh coordinates from abaqus. The issue is that coordinates are not sequential.

Perhaps try https://www.mathworks.com/matlabcentral/fileexchange/10408-contours-for-triangular-grids https://www.mathworks.co...

How to use contourf to plot a mesh not generated in matlab, i.e. imported mesh coordinates from abaqus. The issue is that coordinates are not sequential.

Perhaps try https://www.mathworks.com/matlabcentral/fileexchange/10408-contours-for-triangular-grids https://www.mathworks.co...

17 days ago | 0

Answered

System Composer addition to suite

System Composer is not available for the Home license. The products available for the Home license are restricted to the ones ...

System Composer addition to suite

System Composer is not available for the Home license. The products available for the Home license are restricted to the ones ...

17 days ago | 0

Answered

how can i use my GPU from openVPN to my matlab

If your GPU is on the same system that MATLAB is running on, then just go ahead and use the GPU normally. If your GPU is on you...

how can i use my GPU from openVPN to my matlab

If your GPU is on the same system that MATLAB is running on, then just go ahead and use the GPU normally. If your GPU is on you...

18 days ago | 0

Answered

Using logicals in arrayfun

u = arrayfun(@(x,y) x{1}(1:max(0,y)), tempA, tempB, 'UniformOutput', false); The secret here is that max(0,VALUE) is 0 if VALU...

Using logicals in arrayfun

u = arrayfun(@(x,y) x{1}(1:max(0,y)), tempA, tempB, 'UniformOutput', false); The secret here is that max(0,VALUE) is 0 if VALU...

18 days ago | 0

| accepted

Answered

Difficulties converting E-001

Insert a leading '1' before each of the exponentials, and then multiply the pairs together. format long g T = table([45; 17], ...

Difficulties converting E-001

Insert a leading '1' before each of the exponentials, and then multiply the pairs together. format long g T = table([45; 17], ...

20 days ago | 0

Answered

How do I show the latex form $\mathcal{T}$ by using the function str2sym in live editor?

There is currently no way to interject formatted latex in live editor. The closest you can get is to use the menu items to compo...

How do I show the latex form $\mathcal{T}$ by using the function str2sym in live editor?

There is currently no way to interject formatted latex in live editor. The closest you can get is to use the menu items to compo...

21 days ago | 1

| accepted

Answered

Error Using uislider. 'slider' is not a valid STYLE for uislider.

uislider() does not take a positional parameter named slider uislider() accepts the name/value pair 'style', 'slider'

Error Using uislider. 'slider' is not a valid STYLE for uislider.

uislider() does not take a positional parameter named slider uislider() accepts the name/value pair 'style', 'slider'

22 days ago | 0

Answered

Where is the polyIntersect.m function in R2024 and how do I load it ?

polyintersect appears to be part of MRST (MATLAB Resevoir Simulation Toolbox), https://www.sintef.no/contentassets/2551f5f855474...

Where is the polyIntersect.m function in R2024 and how do I load it ?

polyintersect appears to be part of MRST (MATLAB Resevoir Simulation Toolbox), https://www.sintef.no/contentassets/2551f5f855474...

22 days ago | 1