# Lucas S

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**45** Questions

**0** Answers

RANK**134,540**

of 291,612

REPUTATION**0**

CONTRIBUTIONS

**45** Questions

**0** Answers

ANSWER ACCEPTANCE **
35.56%
**

VOTES RECEIVED**0**

RANK

of 19,806

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 146,393

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Function block works in 2017b but not in 2019b

Hello, I have created a Simulink model that allow the user to simulate some Constant (True = not OK / False = OK), and spread t...

2 years ago | 1 answer | 0

### 1

answerQuestion

xC9 instead of É in xml file generated by Matlab

Hello ! I'm generating an xml file with Matlab by filling it according to an excel file. xmlfile = fopen(file.xml, 'w'); fpri...

2 years ago | 0 answers | 0

### 0

answersQuestion

Why \n or newline doesn't work ?

Hello ! I'm trying to concatenate a newline between 2 string and then put the entire string in the description of the block usi...

3 years ago | 1 answer | 0

### 1

answerQuestion

Import data from bpmn file into one string/char value Matlab

Hello, I have a consistent bpmn file (similar to xml file) and i would like to read it with matlab and store the all file da...

3 years ago | 1 answer | 0

### 1

answerQuestion

xlswrite error 0x800A03EC using cell formula inside array

Hello ! I'm trying to generate an excel file from a 26x15 string array. I get the error (0x800A03EC) when i try to use xlswr...

4 years ago | 0 answers | 0

### 0

answersQuestion

Script that create all combination in a matrix

Hello, I have a matrix of 3 elements (3 columns). A | B | C Each elements can take 4 values (0, 1, 2, 3). Is there a functio...

4 years ago | 2 answers | 0

### 2

answersQuestion

My DocBlock Data doesn't update programmatically

Hello ! I have created a DocBlock in my model and i would like to update the content programmatically. I have this code : Doc...

4 years ago | 1 answer | 0

### 1

answerQuestion

Put excel collumns in an array

Hello ! I have never used excel parser in Matlab. I have an excel file which have 3 columns. And i would like to save all eleme...

4 years ago | 1 answer | 0

### 1

answerQuestion

Compare two cell array (different sizes) and return 0 or 1

Hello ! I have 2 cells array of string : one which is general with many items like : A = {A, B, C, D, E, F, G, H}; and the s...

4 years ago | 1 answer | 0

### 1

answerQuestion

Mxarray error using set_param in Function Block Simulink

Hello ! I have a model which has 3 layers : Subsystem => 2 subsystems => 1 Matlab Function block (in each of both parent su...

4 years ago | 1 answer | 0

### 1

answerQuestion

How to differentiate Subsystem and MATLAB Function Block with find_system()

I have a model with many Subsystem blocks and many MATLAB Function blocks. I'm trying to use find_system to store all Subsystem ...

4 years ago | 1 answer | 0

### 1

answerQuestion

Simplify a string with MATLAB script

Hello ! I have a string format which looks like this (this is not always 'A' before '_' and numbers) : Eq = 'A_1+((A_2+A_3)&(A...

4 years ago | 1 answer | 0

### 1

answerQuestion

Write in a DocBlock programmaticaly

Hello ! I have a Simulink model with a DocBlock inside and i would like to create a script to write inside this DocBlock. I a...

4 years ago | 1 answer | 0

### 1

answerQuestion

TextArea ValueChanged Function doesn't work AppDesigner

Hi everyone ! I have an app that you can see above. When the user use the 'Browse' Button he can choose a .slx file and the n...

4 years ago | 0 answers | 0

### 0

answersQuestion

Summarize programmatically Logical Equation depending on Simulink Model

Hello everyone ! I have a model with a subsystem which describe a Logical Equation like this inside : I'm looking for a wa...

4 years ago | 0 answers | 0

### 0

answersQuestion

How to retrieve Source block Name of a Function block

Hi everyone ! I have a simple model with a constant block connected to a function block connected to an output. Constant block...

4 years ago | 0 answers | 0

### 0

answersQuestion

Hide blocks of a model for estheticism

I have a model which looks like this : And i would like to know if there is a show/hide tool to select all non colored block...

4 years ago | 0 answers | 0

### 0

answersQuestion

Hide blocks of a model for estheticism

Hello ! I have a model which looks like this : And i would like to know if there is a show/hide tool to select all non colo...

4 years ago | 0 answers | 0

### 0

answersQuestion

Use Switch Block for 3 different values ? Matlab Simulink

I have a model : with a Switch which have 2 inputs y. One input y can take enumerated values "Green" or "Orange" and the o...

4 years ago | 0 answers | 0

### 0

answersQuestion

Use From/Goto Block in different model file

Hello ! I would like to know if there is a way to store many inputs with Goto Blocks in one model file like this : And use ...

4 years ago | 1 answer | 0

### 1

answerQuestion

Highlight data path after Simulation

Hello, I have a model which looks like this : In Equipement2 block for example : In ETAFON1 block for example : In...

4 years ago | 0 answers | 0

### 0

answersQuestion

"The 'Label' property name is ambiguous in the 'Transition' class " error

Hello, i'm trying to create a stateflow with code. i have already created 2 states and a Transition between them : add_block('...

5 years ago | 0 answers | 0

### 0

answersQuestion

No constructor 'Stateflow.State' with matching signature found.

Hello ! I'm trying to create State block : chart = add_block('sflib/Chart', 'autoDS/Chart'); state = Stateflow.State(chart);...

5 years ago | 0 answers | 0

### 0

answersQuestion

"Not enough input arguments" error using add_line()

Hello ! I'm trying to use add_line() function and to organize link with the 'autorouting' parameter. Here is my code : add_li...

5 years ago | 1 answer | 0

### 1

answerQuestion

Create an Array/a List of Position

Hello ! I have this code where i search Position of input and output of a Model Reference Block: portPos = get_param('Model Re...

5 years ago | 1 answer | 0

### 1

answerQuestion

Is it possible to use "add_line()" betwen "Model Reference" Blocks

Hello ! I have a System with several "Model Reference" Blocks which have many in and out ports and i'm trying to connect each o...

5 years ago | 1 answer | 0

### 1

answerQuestion

"Type mismatch in input arguments" error when using "add_line()"

Hello ! I'm trying to connect a subsystem with a port with the function add_line() : allOutportBlock = find_system(sprintf('%...

5 years ago | 0 answers | 0

### 0

answersQuestion

How to connect a subsystem with an in/out port with code ?

Hello ! I have a system with subsystems and in/out port inside, like this : And i would like to know if it's possible to...

5 years ago | 0 answers | 0

### 0

answersQuestion

How to resize a system window

Hello i would like to know how can i resize a system window. I don't know why when i use open_system() my window is very littl...

5 years ago | 1 answer | 0

### 1

answerQuestion

Why "find_system('Blocktype', 'Model')" doesn't work ?

Hello ! I have a System which looks like this : And i would like to use find_system() function to retrieve all input and o...

5 years ago | 1 answer | 0