Lucas S
Followers: 0 Following: 0
Feeds
질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 3년 전 | 답변 수: 0 | 0
0
답변질문
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...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 5년 전 | 답변 수: 0 | 0
0
답변질문
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...
거의 5년 전 | 답변 수: 0 | 0
0
답변질문
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...
거의 5년 전 | 답변 수: 0 | 0
0
답변질문
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...
거의 5년 전 | 답변 수: 0 | 0
0
답변질문
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...
거의 5년 전 | 답변 수: 0 | 0
0
답변질문
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...
거의 5년 전 | 답변 수: 0 | 0
0
답변질문
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 ...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 5년 전 | 답변 수: 0 | 0
0
답변질문
"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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
"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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
"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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0