Feeds
답변 있음
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...
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년 초과 전 | 1
질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
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...
12년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
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...
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년 초과 전 | 0
질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Hiding model content
Thank you both for the detailed answers! They certainly helped me a lot!
Hiding model content
Thank you both for the detailed answers! They certainly helped me a lot!
거의 13년 전 | 0
질문
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 ...
거의 13년 전 | 답변 수: 3 | 0
3
답변질문
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....
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
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...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 3 | 0
3
답변답변 있음
Function returning multiple vectors
You guys are the best! :) Here's my code: function [objectIDs, animationNames, animationValues] = TEST_vSendMultipleEvents...
Function returning multiple vectors
You guys are the best! :) Here's my code: function [objectIDs, animationNames, animationValues] = TEST_vSendMultipleEvents...
13년 초과 전 | 0
답변 있음
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...
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년 초과 전 | 0
질문
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년 초과 전 | 답변 수: 5 | 1