Community Profile

photo

Macko


Last seen: 8 months ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Answered
Checking "Signal must resolve to Simulink signal object" checkbox from code
Thank you! In the meantime I also received an answer from Support. They additionally told me about set(signal_line,'MustResolveT...

11 years ago | 1

Question


Checking "Signal must resolve to Simulink signal object" checkbox from code
Hi, I have created a sample model with the following code pos_outport = [250 0 282 14]; pos_term = [50 15 75 30]; ...

11 years ago | 2 answers | 0

2

answers

Question


Accessing an externally defined array's elements in the generated code
Hi, I need to define an interface signal to my model, that will actually get data from the second element of an external uint...

11 years ago | 1 answer | 0

1

answer

Question


Stateflow: Resetting tick upon state transition
Hi, Is there a way to reset the tick value in the entry hook of a state, in Stateflow? I have two states, A and B. In stat...

11 years ago | 0 answers | 0

0

answers

Answered
Copy with Matlab
Hi, I'd probably be writting a Perl script that I then execute either on its own or from within the Matlab environment. I thi...

12 years ago | 0

Question


Lookup table code generation
Hi, I'd like to use 1-D lookup tables in my model and have Embedded Coder generate custom code out of it (legacy algorithm ...

12 years ago | 1 answer | 0

1

answer

Question


fixdt() and RTW-EC
Hi, If I'm setting the data type of an output port to say fixdt(0,32,0.1,10) this will not result in the corresponding value ...

12 years ago | 1 answer | 0

1

answer

Answered
Hiding model content
Thank you both for the detailed answers! They certainly helped me a lot!

12 years ago | 0

Question


Hiding model content
Hi, What is the easiest way to hide the model content from third-party viewers? Is there a way to pre-compile the model in a ...

12 years ago | 3 answers | 0

3

answers

Question


Exchange random variable name between several TLC files
Hi, I would like to dynamically generate a random variable name in one of my TLC files and use this in several other TLC files....

12 years ago | 2 answers | 0

2

answers

Question


Multiple function generated by one TLC file
Hi, Is there a way to generate more than one function using a single TLC file? What I'm trying to achieve is have my stand...

12 years ago | 1 answer | 0

1

answer

Question


Passing strings between subsystems
Hi, I'm building up strings dynamically in several subsystems, both using Embedded Matlab blocks and Level-2 M-File blocks. N...

13 years ago | 2 answers | 0

2

answers

Question


TLC file syntax help?
Hi, I was wondering if there is a help file somewhere describing the syntax to be used in the Realtime Workshop Embedded code...

13 years ago | 1 answer | 0

1

answer

Question


Default values for masked subsystem parameters
Hi, I have defined a mask for my subsystem which contains two edit boxes and two dropdown selction boxes. The edit boxes h...

13 years ago | 2 answers | 0

2

answers

Question


Using array of strings in TLC files
Hi, I'm trying to use an array of predefined strings in a TLC file and index this array using an input parameter. Let's say I ...

13 years ago | 1 answer | 0

1

answer

Question


Set pop-up mask content from file
Hi, Is there a way to set the content of a subsystem mask element (popup type) externally? Like from an M file or similar? ...

13 years ago | 1 answer | 0

1

answer

Question


Load constants from file
Hi, I'm looking for a way to load constants defined in an external file to the workspace, keeping their original names. I ...

13 years ago | 3 answers | 0

3

answers

Answered
Function returning multiple vectors
You guys are the best! :) Here's my code: function [objectIDs, animationNames, animationValues] = TEST_vSendMultipleEvents...

13 years ago | 0

Answered
Function returning multiple vectors
That was incredibly fast! Many-many thanks! Now, I can see I have simplified my problem too much. I actually want to set up t...

13 years ago | 0

Question


Function returning multiple vectors
Hi, I'd like to assemble three vectors in a function then return them to the caller. Something along these lines: function [A,...

13 years ago | 5 answers | 1

5

answers