Answered

Why does Matlab keep forgetting my path?

If I were you, I would give up on setting your path with pathtool or the Matlab GUI (since those try to change the path in the M...

Why does Matlab keep forgetting my path?

If I were you, I would give up on setting your path with pathtool or the Matlab GUI (since those try to change the path in the M...

3 years ago | 1

Answered

My function only works in the online matlab and not on the one installed on my laptop

Check to make sure your script is not depending on any files you have in your Matlab Drive. Your Matlab Drive is available by de...

My function only works in the online matlab and not on the one installed on my laptop

Check to make sure your script is not depending on any files you have in your Matlab Drive. Your Matlab Drive is available by de...

3 years ago | 0

Answered

append several csv files into one

If you're using a newer version of Matlab, you probably want to use readtable instead of csvread. Don't forget the file extensio...

append several csv files into one

If you're using a newer version of Matlab, you probably want to use readtable instead of csvread. Don't forget the file extensio...

3 years ago | 0

Answered

Urlread/Webread issue on internal network

Like the error web page says, your access to that website is being blocked by your company's network configuration. Contact your...

Urlread/Webread issue on internal network

Like the error web page says, your access to that website is being blocked by your company's network configuration. Contact your...

3 years ago | 0

Answered

Is the Database Toolbox required for any MATLAB runtime connection to a database?

Yes, the Database Toolbox is required for database access from Matlab, unless you write your own custom replacement for it that ...

Is the Database Toolbox required for any MATLAB runtime connection to a database?

Yes, the Database Toolbox is required for database access from Matlab, unless you write your own custom replacement for it that ...

3 years ago | 0

Answered

Converting old Compiled GUIDE application with global variables

Older versions of the MCR are still available for download. Can you not just install the older MCR version that it was compiled ...

Converting old Compiled GUIDE application with global variables

Older versions of the MCR are still available for download. Can you not just install the older MCR version that it was compiled ...

3 years ago | 0

Answered

How to run a standalone executable compiled in older version FROM console

Check the state of the %PATH% environment variable from within Matlab. Matlab adds its own libs to the PATH, and those libs over...

How to run a standalone executable compiled in older version FROM console

Check the state of the %PATH% environment variable from within Matlab. Matlab adds its own libs to the PATH, and those libs over...

3 years ago | 0

| accepted

Answered

Get pointer to underlying data in mex C++ API

That mxGetPr() call is copying the data. The MEX API changed in R2018a when Matlab switched to the "interleaved complex data mod...

Get pointer to underlying data in mex C++ API

That mxGetPr() call is copying the data. The MEX API changed in R2018a when Matlab switched to the "interleaved complex data mod...

3 years ago | 0

Answered

xlsx format without the com server?

You need to use a third-party library like Apache POI to do this. Coincidentally, I'm writing an Office IO API to support use c...

xlsx format without the com server?

You need to use a third-party library like Apache POI to do this. Coincidentally, I'm writing an Office IO API to support use c...

3 years ago | 0

Answered

Error using mex G:\Matlab_WS\code_test\Assignment1\Add_Two.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] Add_Two(U16 a, U16 b)

See this line where the function is actually defined in Add_Two.c? Add_Two(U16 a, U16 b) You need to add an explicit "`U32`" a...

Error using mex G:\Matlab_WS\code_test\Assignment1\Add_Two.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] Add_Two(U16 a, U16 b)

See this line where the function is actually defined in Add_Two.c? Add_Two(U16 a, U16 b) You need to add an explicit "`U32`" a...

3 years ago | 0

| accepted

Submitted

dispstr

A Matlab API for extensible, polymorphic custom object display

3 years ago | 2 downloads |

Solved

MATLAB Counter

Write a function f = counter(x0,b) to construct a counter handle f that counts with an initial value x0 and a step size b. E...

3 years ago

Solved

Calculate BMI

Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

3 years ago

Solved

Calculate Inner Product

Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

3 years ago

Solved

Find MPG of Lightest Cars

The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

3 years ago

Solved

Find the Best Hotels

Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

3 years ago

Solved

Crop an Image

A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

3 years ago

Solved

Verify Law of Large Numbers

If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

3 years ago

Solved

Convert from Fahrenheit to Celsius

Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

3 years ago

Solved

Calculate Amount of Cake Frosting

Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

3 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Answered

Why do I receive License Manager Error -9?

Ouch, dude. That's not a great user experience. I got this same problem when I upgraded my iMac to a newer hardware version. Pro...

Why do I receive License Manager Error -9?

Ouch, dude. That's not a great user experience. I got this same problem when I upgraded my iMac to a newer hardware version. Pro...

3 years ago | 0

Question

Relocating a Matlab Compiler project to a directory alongside source tree

I have a large codebase that I compile using a few *.prj Matlab Compiler project files. I would like to relocate the *.prj files...

4 years ago | 0 answers | 0

Answered

Relocating a MATLAB Compiler project to a different machine and recompiling

Matt J: Where was your `.prj` file located initially? And what version of Matlab did you create it with? I'm currently workin...

Relocating a MATLAB Compiler project to a different machine and recompiling

Matt J: Where was your `.prj` file located initially? And what version of Matlab did you create it with? I'm currently workin...

4 years ago | 0

Answered

datetime 'UTCLeapSeconds', 2 second difference across leap sec boundary

Hi folks. I'm a software developer coming from Java/C#/Joda-Time/Noda-Time, and this behavior is confusing me. Is there a cen...

datetime 'UTCLeapSeconds', 2 second difference across leap sec boundary

Hi folks. I'm a software developer coming from Java/C#/Joda-Time/Noda-Time, and this behavior is confusing me. Is there a cen...

4 years ago | 0

Submitted

matlab-jarext-inspector

List Matlab's bundled third-party Java libraries and their version info

5 years ago | 1 download |