Answered
I am trying to create an array h of size 1001 which can store value of 2 integrals
It doens't allow you to go outside (-1.57, 1.57). This is essentially (-PI/2, PI/2). Since your f(x) is a function of cos(x), s...

4 years ago | 0

Answered
"Index exceeds matrix dimensions" error during performing RGB channel separation
Most likely your image is just a grey scale one. Only one channel.

4 years ago | 0

Answered
Accessing specific content of XML file in writing M-stript for the custom guideline check
Do you want to parse the XML content and extract information? https://www.mathworks.com/help/matlab/ref/xmlread.html

4 years ago | 0

Answered
latex output to .txt format
So you convert some equations into latex as a string, right? Then you can just follow this to write the string into a .txt file:...

4 years ago | 0

Answered
Compiled App: GUI appears but does not execute.
In general, it will be helpful to log important events for debugging. For example, log a message when The App starts The butto...

4 years ago | 0

Answered
How to share a .mdl model done in 2021a version to 2019 version
Click and expand the "Save" button, then you will see "Previous versions ...."

4 years ago | 0

Answered
How to convert python __name__ = '__main__' into MATLAB ?
Not sure about what you really want. For python code, if __name__ == '__main__': it means your python script is running as t...

4 years ago | 0

Answered
model workspace cannot be opened
This is the same question as https://www.mathworks.com/matlabcentral/answers/884694-i-cannot-open-simulink-workspace.

4 years ago | 0

| accepted

Answered
I cannot open simulink workspace
It is not disabled, even though "open" is greyed out. Parameters can be added to the model workspace following: https://www.math...

4 years ago | 0

| accepted

Answered
How can I identify potential issues with overriding MATLAB libexpat with a newer version?
Does not seem like a very good idea. This lib is widely used.

4 years ago | 0

Answered
Want to run a .py through a virtual environment from a matlab
You need to play with the PYTHONPATH env variable to point to the keras (possibly other python packages as well).

4 years ago | 0

Answered
How to run Matlab generated .DLL files from Python
Try to call your dll from a C program first, to make sure it actually works?

4 years ago | 0

Answered
How To Extract Data from Multiple CSV Files and Run Analysis?
Unlike an excel doc, a CSV file doesn't have concept like H157. Use readtable to read the CSV file into a matlab table, and go...

4 years ago | 0

Answered
To know the units of t span used in ode45 command
You can type this in the matlab command line window: help ode45 to get help for ode45 function. The first input argument is ...

4 years ago | 0

| accepted

Answered
Permission denied while loading shared libraries in matlab installation on RH7
Does this help? https://ceisoftware.zendesk.com/hc/en-us/articles/202370087-Cannot-enable-executable-stack-as-shared-object-req...

4 years ago | 1

| accepted

Answered
Open OpenWeatherMap API in matlab
What does it mean by "it doesn't work"? Any error message you saw? Try the html directly outside matlab and make sure it works ...

4 years ago | 0

Answered
extract data from a 1D vector with a pattern
Do it in a loop. Loop through 1 to 1000. Append elements to A1 and A2 inside the loop.

4 years ago | 0

| accepted

Answered
please someone solve this error ''Undefined function or variable 'x''.
It seems like lines are all messed up. Do it make more sense to re-arrange them like this: x0 = [1 1 1 -5 -5 -5 0]; tspan= [0:...

4 years ago | 0

| accepted

Answered
Debug MEX using Xcode on an M1 MacBook
Just hit continue? This is just a breakpoint.

4 years ago | 0

Answered
findgroups error class variable not supported
You can type help findgroups from command line window. It show what input argument findgroups is expecting: G = findgroups(A) r...

4 years ago | 0

Answered
not able to load Array Factory in shared C++ library
Check the dependency of those two libs you mentioned above. If matlab has trouble to find those, it can failed the load as well....

4 years ago | 0

Answered
How do I crop out an a circle image from an image after edge detection
This be done by a brute-force approach, right? Read the bitmap, check the coordinates of each point. If it is outside the circle...

4 years ago | 0

Answered
How to merge 2 data?
Are you looking for bitshift function? Something like: send_windSpeed = bitshift(msg(0), 8) + msg(1);

4 years ago | 0

Answered
MATLAB2021a on Linux RHEL6.9. installation failed exit code 127
Someone mentioned this before: undefined symbol: g_unicode_script_get_type - MATLAB Answers - MATLAB Central (mathworks.com)

4 years ago | 0

Answered
Annaconda packages not loadable in Matlab
Did you try to set the env var PYTHONPATH?

4 years ago | 0

Answered
appdesigner does not save to current folder
It is saving to the current folder, using R2021a update 3.

4 years ago | 0

| accepted

Answered
matlab.engine.EngineError: Unable to launch Simple server: Unable to launch /opt/matlab/R2020b/bin/matlab because: Timed out reading transport byte from transport
Did you do this already: https://www.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html

4 years ago | 0

Answered
First input must be a vector with 2 elements.
Hello Tilman, Is dcc a function you developed? The error message is about calling normlike, mostlikely inside function dcc. Two...

4 years ago | 0

Answered
Error using ReadFcn @getMinMax function handle for file
Try to restart matlab?

4 years ago | 0

Answered
How to Skip two Array Elements with same length?
Use NaN?

4 years ago | 0

| accepted

Load more