![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/15158977_1553786952656_DEF.jpg)
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 years 前 | 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 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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...
4 years 前 | 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...
4 years 前 | 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...
4 years 前 | 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...
4 years 前 | 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...
4 years 前 | 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...
4 years 前 | 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 ...
4 years 前 | 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...
4 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0