photo

Lucas S


Last seen: mer än 2 år ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

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...

mer än 2 år ago | 1 answer | 0

1

answer

Question


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...

nästan 3 år ago | 0 answers | 0

0

answers

Question


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...

mer än 3 år ago | 1 answer | 0

1

answer

Question


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...

mer än 3 år ago | 1 answer | 0

1

answer

Question


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...

ungefär 4 år ago | 0 answers | 0

0

answers

Question


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...

mer än 4 år ago | 2 answers | 0

2

answers

Question


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...

mer än 4 år ago | 1 answer | 0

1

answer

Question


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...

mer än 4 år ago | 1 answer | 0

1

answer

Question


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...

mer än 4 år ago | 1 answer | 0

1

answer

Question


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...

mer än 4 år ago | 1 answer | 0

1

answer

Question


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 ...

mer än 4 år ago | 1 answer | 0

1

answer

Question


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...

mer än 4 år ago | 1 answer | 0

1

answer

Question


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...

mer än 4 år ago | 1 answer | 0

1

answer

Question


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...

mer än 4 år ago | 0 answers | 0

0

answers

Question


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...

mer än 4 år ago | 0 answers | 0

0

answers

Question


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...

mer än 4 år ago | 0 answers | 0

0

answers

Question


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...

mer än 4 år ago | 0 answers | 0

0

answers

Question


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...

mer än 4 år ago | 0 answers | 0

0

answers

Question


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...

mer än 4 år ago | 0 answers | 0

0

answers

Question


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 ...

mer än 4 år ago | 1 answer | 0

1

answer

Question


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...

mer än 4 år ago | 0 answers | 0

0

answers

Question


"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('...

mer än 5 år ago | 0 answers | 0

0

answers

Question


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);...

mer än 5 år ago | 0 answers | 0

0

answers

Question


"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...

mer än 5 år ago | 1 answer | 0

1

answer

Question


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...

mer än 5 år ago | 1 answer | 0

1

answer

Question


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...

mer än 5 år ago | 1 answer | 0

1

answer

Question


"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('%...

mer än 5 år ago | 0 answers | 0

0

answers

Question


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...

mer än 5 år ago | 0 answers | 0

0

answers

Question


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...

mer än 5 år ago | 1 answer | 0

1

answer

Question


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...

mer än 5 år ago | 1 answer | 0

1

answer

Load more