photo

Ludo Houben


Last seen: 5ヶ月 前 2022 年からアクティブ

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
English, German
Pronouns:
He/him

統計

  • Thankful Level 3
  • First Answer

バッジを表示

Feeds

表示方法

回答済み
uigetfile, how to get 1x1 cell array when selecting 1 file
This did the trick % File checking if isequal(files,0) % Is at least one file selected return; elseif ~iscell(files...

5ヶ月 前 | 0

| 採用済み

質問


uigetfile, how to get 1x1 cell array when selecting 1 file
Hi All I use 'uigetfile' for selecting files by the user. This can be multiple files or only 1. When selecting multiple files, ...

5ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
Simulink: Model referencing of MATLAB System. Parameters not set in setupImpl
Hi I have the same 'challenge'. I would like to use a loaded struct for the parameterization of a function, but it is vital ...

11ヶ月 前 | 0

質問


How to get 'gcb' information including a 'for each' index
Hi All I have a function that has a property 'sParInstanceName'. This variable is updated on starting with the callback functio...

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to configure set_param() per instance for arrays
I have a function 'deep' within a model that is called as an array. Each instance of this function needs a different value for i...

11ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
How to connect a substruct of an array to an inport of a 'for each' block
It looks that my preferred way of working is not supported within Simulink. So I now constructed it like this: It looks lik...

12ヶ月 前 | 0

| 採用済み

質問


How to connect a substruct of an array to an inport of a 'for each' block
Hi all, next challenge From a PLC I receive data in form of a 'struct in struct' principle which I want to use in the simulatio...

約1年 前 | 1 件の回答 | 0

1

回答

質問


How to move data from cells in a cell in a destinct column (importing CoDeSys variables)
Hi All I have a challenge of reading PLC (CoDeSys IEC 61131) variables from a text file and putting them into an array(:,4). He...

約1年 前 | 1 件の回答 | 0

1

回答

質問


How to get columns as 'struct' in timetable
Hi all, I'm 'playing' around with timetable for adding logdata to use in a simulink model but I'm strugling with the 'struct in...

約1年 前 | 2 件の回答 | 0

2

回答

質問


How to search for a index to a variable with known size
Hi All I'm still relative new to MATLAB and I'm struggeling a bit to find an index. Following info I have received from a 'wh...

約1年 前 | 1 件の回答 | 0

1

回答

回答済み
How to get the class instance 'calling' path
The following 'works' when simulink is running in code generation execution when creating a class % Create a property of the ty...

約1年 前 | 0

| 採用済み

回答済み
How to get the class instance 'calling' path
This is a simpeler solution if running simulink in interpreted execution sInstancePath = gcb; % Get instance path warni...

約1年 前 | 0

質問


How to get the class instance 'calling' path
Hi all I'm working on a class and I have added an error() message to a part of the code. However within my model several instan...

約1年 前 | 3 件の回答 | 0

3

回答

質問


How to access methode from class
Hi all I'm new to Matlab/Simulink. See image below, how do I access a method from the instance 'fbTriggerBuffer' of the class '...

約1年 前 | 1 件の回答 | 0

1

回答

質問


Initialise property with simulink.bus information located in sldd
Hi all The code below is working as intended, however the 'ST_FB_TRIGGERBUFFER_DATARECORD' needs to be available in the base wo...

約1年 前 | 1 件の回答 | 0

1

回答

質問


How to set (check?) the 'inport' datatype for a 'Matlab system block' to a simulink.bus
Hi All When I create a subsystem, then I can set a fixed datatype "Bus: <busname>" for an 'inport' How to do this for a 'm...

約1年 前 | 1 件の回答 | 0

1

回答

回答済み
Simple class counter running each step
Ok found my mistake you need to call it as 'methode' step. Count.step(5)

約1年 前 | 0

| 採用済み

質問


Simple class counter running each step
I want to create a 'simple counter' class (so I understand how it works), that increases the count value every time it is called...

約1年 前 | 1 件の回答 | 0

1

回答

回答済み
SubSystem missing image in library (created with mask)
Found that the reference within the block is 'fixed'. So after renaming / relocating you have to recreate this reference. I don'...

約1年 前 | 0

| 採用済み

回答済み
Fixed 'simulink.bus' for property declaration
Finally got it to work :-) The array has now a fixed size of 2 records of the datatype ST_DATARECORD classdef myFunct < matl...

約1年 前 | 0

| 採用済み

質問


Fixed 'simulink.bus' for property declaration
Hi All I'm trying to create my first class and I'm struggeling to define my property as a fixed 'simulink.bus' type. I create...

1年以上 前 | 1 件の回答 | 0

1

回答

回答済み
Execution order tab is not displayed
The Execution Order editor window is only displayed when the code is compilable.

1年以上 前 | 0

| 採用済み

質問


Execution order tab is not displayed
Hi All I'm trying to get a new SubSytem for my library compiled, but I get '...are involved in the loop' errors. As the error p...

1年以上 前 | 1 件の回答 | 0

1

回答

回答済み
Format position of inports and referenced subsytem naming in simulink
As mentioned the comment in Sahas his answer, a workaround is to create an 'empty' icon mask. In this way only the in-/outports ...

1年以上 前 | 0

質問


How to acces the mask 'Property Editor' when in 'Graphical' mode?
Hi All How to reach / were to find the 'Property Editor' when a SubSystem has a mask that is saved from within 'Graphical' mode...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


SubSystem missing image in library (created with mask)
Hi All Yesterday I succesfully created a 'mask' for a referenced SubSystem within a Library I'm trying to create. Today I want ...

1年以上 前 | 1 件の回答 | 0

1

回答

回答済み
How to crop 1 inch
Hi Pizzaa Maybe this can help: https://nl.mathworks.com/help/images/crop-an-image.html https://nl.mathworks.com/help/images/c...

1年以上 前 | 0

質問


Format position of inports and referenced subsytem naming in simulink
Hi All I'm trying to create my own simulink blocks, and I was wondering how I can format the distance between the referenced su...

1年以上 前 | 2 件の回答 | 0

2

回答

回答済み
Get min from group(s) of data within an array
Hi all The final solution was combining both answers from Jan and Chris. % Create table 'X' X = [2022 02 01 1 6; ... ...

約2年 前 | 0

| 採用済み

質問


Get min from group(s) of data within an array
Hi All As a newbie I'm struggeling with the following. I have created a subset of a data set into a 'value n' x 'value m' doub...

約2年 前 | 3 件の回答 | 0

3

回答