Question

How to compile simulink models with variables of big size in the simulink workspace?

My model has a huge array stored in the simulink workspace and I am not able to compile my model with Simulink Coder. I get the...

3 maanden ago | 1 answer | 0

Question

How to compile a file with a large variable in the workspace?

I would like to compile a model with a large global variable stored in the simulink workspace. The size of the the variable is o...

4 maanden ago | 0 answers | 0

Question

How to export to workspace a 4D array?

Basically the first function is generating values between a certain range. This values are indexes in order to have access to ...

4 maanden ago | 1 answer | 0

Question

Is it possible to load an array to the simulink workspace and call it in a matlab function?

I have made and array in 3 dimensions initialize with zeros. I would like to import it in the simulink workspace and call it fro...

4 maanden ago | 1 answer | 0

Question

How to create a multidimensional array of fixed dimensions?

I would like to create an array in 4 dimensions. Each dimension has a fixed size. x =0 to 200 -->step 1 y =-25 to 25 --> step ...

4 maanden ago | 2 answers | 0

Question

How could I implement an array that is constantly recovering data through the entire simulink model?

Let's say that I have a simple matlab function that computes the sum of two values. I would like to save all of the results in a...

5 maanden ago | 0 answers | 0

Question

Why I get an error when generating a cell array as an output of a simulink function?

function y = (input,vector) persistent count persistent array_3 persistent array_2 persistent array_1 p...

5 maanden ago | 1 answer | 0

Question

How to import an LSTM neural network from python to simulink?

I would like to import a pretrained Keras network to my simulink model. How can I do this?

5 maanden ago | 0 answers | 0

Question

How to store multiple arrays into a single one?

array_1 = zeros(1,9); array_2 = zeros(500,16); With the increase in time I will be concatenating arrays one and two into array...

5 maanden ago | 1 answer | 0

Question

How to save multiple 2D arrays in a third dimension in simulink?

I will be reading multiple 2D arrays of the same size (100, 8) in time. The idea is to concatenate all of them in a 3D array. H...

5 maanden ago | 1 answer | 0

Question

How to calculate the acceleration with only discrete blocks?

I would like to measure the acceleration out of the velocity, but I need to do so when the solver is in discrete mode and with a...

5 maanden ago | 0 answers | 0

Question

How can I save into an struct multiple arrays?

I have two variables. Id and Matrix. Id : [0,1,2,3] Matrix : 3600 x 9 I want to save in a structure the ID and the respective...

7 maanden ago | 1 answer | 0

Question

How to buffer a certain amount of data in a buffer without saving all the data that passes through it?

I have two approaches. The problem with the one in the zip file is that it is saving all the values everytime they pass to the m...

7 maanden ago | 0 answers | 0

Question

How to create a buffer FIFO, filter and then save in an array values that are between an specific range of values?

I have a sine wave as input signal at a sampling rate of 0.02. I want to process the first 1000 sampling points = 20 sec in a FI...

7 maanden ago | 1 answer | 0

Question

How to filter data that detects peaks or irregularities?

I am trying to build a code that detects these peaks. This graph represents the change in position in time. What I am doing ...

8 maanden ago | 1 answer | 0

Question

How can I save data in a multidimensional array

I want to build a multidimensional array that saves the follwing data. Size of the array should be the following: Vego : 0...

8 maanden ago | 1 answer | 0

Question

How can I built a database in Matlab?

DATA ------> -------> Output I am trying to build my own database. I will be filling it with data values from other ta...

8 maanden ago | 1 answer | 0

Question

How can I create a Multidimensional array of 5 dimensions?

I am trying to create a multidimensional array in Matlab from data located in an excel file. How can I make this in matlab?

8 maanden ago | 1 answer | 0

Question

Extract data from multiple excel files

I am trying to extract data from a specific column from multiple excel files and save this columns in one table D = 'C:\Users\D...

8 maanden ago | 1 answer | 0

Question

How can I create a Lookup Table 5-D?

I have multiple excel files of different dimensions, but same columns (variables) How can I export this excel files to a lookup...

8 maanden ago | 1 answer | 0

Question

How do I add an array to a table?

I already tried the matlab function arratotable. The error that I have is that the array is not of the same dimension of the tab...

9 maanden ago | 1 answer | 0

Question

Filtering data from a table. How can I save values that are higher that 0.5?

I can't find a solution to my problem. I have data stored in a table. This data represent the behavior of a signal in time. I w...

10 maanden ago | 3 answers | 0