Electrical engineer that likes Matlab a lot. Machine Learning, signal processing, arduino, power electronics, math.

Question

Send username and password after initiating such program.

Hello everyone, Is there a way to pass user credentials to an application using Matlab? The application was not designed by ...

6 months ago | 0 answers | 0

Question

Help with REGEXP: extracting info from a fragment of URL inside the HTML code.

Hey guys, I have used webread/urlread to get info from this site, the outcome is huge but I'm only interested in these lines: ...

7 months ago | 1 answer | 0

Question

Filter table by lenght of elements in one column.

Hi, I'd like to filter, without using loops, a table by the lenght of an element in a given column. The lenght for my scenario m...

7 months ago | 0 answers | 0

Question

Getting 9 digit datenum into a timestamp format of Date and time.

I have a number representing a date: val = 1554579550.00000 I want to convert it to a timestamp (date + time) but can't figu...

7 months ago | 1 answer | 0

Question

License Requirements for Deep Learning Container on AWS.

Hello, I want to know if the "Deep Learning Container" for AWS comes as a bundle or if you must purchase each license separa...

9 months ago | 0 answers | 0

Question

Using Intel HD Graphics for CUDA code generation in Matlab.

Hello guys, I want to be able to load a Deep Learning model within Simulink, and for this I need to generate CUDA code. Curr...

9 months ago | 0 answers | 0

Question

DL + GPU Coder: Code generation for SequenceInputLayer is not supported.

Hello guys, I have a DL model I'd like to use to import to Simulink, with the help of the GPU coder. Is a simple function, an...

9 months ago | 1 answer | 0

Question

Keras TensorFlow importer: can't upload weights from .h5 file using importKerasNetwork.

Hi, I have a .h5 file with a Keras TensorFlow model that was built using Sequential API. The model is carrying weights, and thou...

9 months ago | 1 answer | 0

Question

textscan or regex to get numbers from a text message.

I have an expression that looks like this: text = '[API.msg2] Order size 400 is smaller than the minimum required size of 50...

10 months ago | 1 answer | 0

Question

Importing Keras model to Matlab: LSTM layers is not yet supported.

I have a .h5 file I want to upload to Matlab using the import tool for TensorFlow in matlab, like this: layers = importKerasL...

10 months ago | 1 answer | 0

Question

Matlab can't find site-packages folder from Python environment.

Hello guys, I'd like to call user-defined functions/scripts I built in python through Matlab. I'm aware of many of the things...

10 months ago | 0 answers | 0

Question

Simulink: plotting outcome of Matlab Function box to a scope.

I have a matlab function called from within a Simulink Block. The outcome of this is a scalar (a 1x1 array in terms of Matlab). ...

11 months ago | 0 answers | 0

Question

Simulink in 2018a: Synchronization to real-time kernel has failed.

I'm trying to use the thingspeakinput block in simulink, my model is fairly simple. I only have that ThingSpeak block connected ...

11 months ago | 0 answers | 0

Question

Ploting timeseries data in Simulink (Variable vs. HH:MM:SS).

I have a Simulink block that calls a user-defined function. This function calls another function: thingspeakread.m (provided by ...

11 months ago | 0 answers | 0

Question

Handling Struct and String Arrays in Simulink.

Hey guys, I have a function that has 3 types of outputs: 1) numeric array. 2) string array. 3) struct array. Is there ...

11 months ago | 1 answer | 1

Question

Using Regex to get strings with whitespace within them.

Hey guys, I want to use Regex to acquire some ID's in a cellstring array, the array looks like this: myString = '(['US04650...

12 months ago | 1 answer | 0

Question

Regular expression for a Python Dict.

Hey guys, I have a python dict that I have turned into a string using char(values()) command, the outcome after that is the ...

1 year ago | 0 answers | 0

Question

Building/Estimate Panel VARs in Matlab.

Hey guys, I know VARs can be stimated in Matlab when you have multiple time series. But what's the case when we have to do i...

1 year ago | 0 answers | 0

Question

Help using Regexp:

Hello, I'm a bit confused on how to use regexp to get information that's between braces. For example, I have the following t...

1 year ago | 1 answer | 0

Question

Populate pyargs() arguments with the contents of a string cell array.

Hello everybody, I'd like to know if there's a way to populate the arguments of pyargs() with the contents of an array, inste...

1 year ago | 2 answers | 0

Question

Can't use strcmp with two strings or char values that are apparently equal.

I have a group of business days in format 'mm/dd/yyyy', from this, I created an array with a char format ( *data_char*) and a st...

2 years ago | 1 answer | 0

Question

Getting a list of business days ignoring holidays regardless of timezone/country.

Hello, I'd like to make an array of dates containing business days regardless of the holidays (if there's any within that ra...

2 years ago | 0 answers | 0

Question

Using Dates (if possible) as structure fields.

I'd like to know if there's a way to use dates as struct fields. The data I want to store in the struct comes in a daily basis a...

2 years ago | 2 answers | 0

Answered

Transform a Dict (or any python data structure) to Struct or Cell Array in Matlab.

I wrote a small function that transforms the dictionary into a cell array and then that cell array is used to populate a structu...

Transform a Dict (or any python data structure) to Struct or Cell Array in Matlab.

I wrote a small function that transforms the dictionary into a cell array and then that cell array is used to populate a structu...

2 years ago | 0

| accepted

Question

Transform a Dict (or any python data structure) to Struct or Cell Array in Matlab.

Hi, I'd like to create a structure or a cell array from Matlab given a Python dictionary. I'm using the built-in Python API ...

2 years ago | 1 answer | 0

Answered

Read CSV file with column headers and row headers.

Hey guys, I just went for an even simpler solution, I used this function called <https://www.mathworks.com/matlabcentral/fi...

Read CSV file with column headers and row headers.

Hey guys, I just went for an even simpler solution, I used this function called <https://www.mathworks.com/matlabcentral/fi...

2 years ago | 0

| accepted

Question

Read CSV file with column headers and row headers.

Hi, I'd like to know how to read a CSV file that has column headers as well as row headers. Is there a function in Matlab tha...

2 years ago | 3 answers | 0

Question

I want to extract the page buttons/widgets in a website using URLREAD.

I want to learn what is the common expression for Buttons/Widgets that contain page numbers of a catalog, e.g. like in this <htt...

2 years ago | 1 answer | 0

Question

Call a VBA object in Matlab with Activex server.

Hello, I already know we can call functions/subs from a VBA module within Matlab using activex server with this command: Exc...

2 years ago | 0 answers | 0

Question

How to call Factset using Matlab through an Excel spreadsheet.

Hello, I'd like to know how to use FDS codes (Factset codes) in Matlab like I do in a Excel spreadsheet. For example, if I w...

3 years ago | 0 answers | 0