Community Profile

photo

Donn Shull


Last seen: 18 days ago Active since 2013

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • Revival Level 2
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How to change data dictionary entry through matlab script without altering the storage class?
Do not cast the DataType during the assignment.for example: >> x = Simulink.Parameter x = Parameter with properties: ...

2 years ago | 0

Answered
Create Variant object based on Configuration Reference
Your variant expression cannot find your configuration object because variant object and the configuration object are in differe...

3 years ago | 0

| accepted

Answered
Data variants in Simulink Data Dictionary
If you are using embedded coder you can set the Simulink.Paramater's CoderInfo.StorageClass to 'ImportedExtern', and thed store ...

4 years ago | 0

Answered
How do I get the elements of the bus inside a variable from the data dictionary?
Insted of Value you should use getValue ie: for j = 1 : le abc = foundOutIdsEntries(j).getValue; % place code deali...

4 years ago | 0

Answered
Derive class from Simulink.ConfigComponent
Simulink.ConfigComponent is a UDD (Universal Data Dictionary) class. This type of class system has been a part of Simulink since...

4 years ago | 0

Answered
Find dictionary entries with value type from Java
It appears that MATLAB is converting the java String arguments to MATLAB strings which is causing the error for example the pure...

5 years ago | 0

Answered
Hi, I would like to implement an algorithm that fill the sldd from a model. The problem is that all the new object added have the default StorageClass Auto. How can I change it from command?
Based on the code from your question you could create the parameters with Storage Class 'Imported Extern' as follows: Handl...

6 years ago | 0

Answered
Export sldd to base workspace and get all entries
The method you show for 2014 uses an undocumented internal API which is subject to change without notice. Beginning with release...

6 years ago | 3

Answered
Is possible to configure the "Data source" of a parameter in Data Dictionary to another file?
You can not change the 'Data Source' for an item directly. Here is an example of how to achieve that result using reference dict...

6 years ago | 0

Answered
Import Time series objects into sldd
Beginning with R2016b Simulink Data Dictionaries can store time series objects in the 'Other Data' dictionary section. For Examp...

6 years ago | 0

Answered
Can we create SImulink DataDictionary from command window through APIs.
list = who dictH = Simulink.dd.create('NewDictionary.sldd') dictH.beginTransaction for n = 1:numel(list) if st...

9 years ago | 0

| accepted

Answered
How to eval expressions in Simulink Data Dictionaries
h1 = Simulink.dd.open('d1.sldd') h2 = Simulink.dd.open('d2.sldd') x1 = h1.getEntry('Global.x1') x2 = h2.getEntry('Glo...

9 years ago | 0

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

11 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

11 years ago