Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M mlib_devel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ALPACA
  • CASPERCASPER
  • mlib_devel
  • Merge requests
  • !1

Draft: RFDC mask changes to fix copy/paste and file rename issue

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Dallin Wood requested to merge rfsocs/rfdc-fix into m2021a Nov 11, 2022
  • Overview 1
  • Commits 2
  • Changes 1

Made changes that fix the issue that occurs when the simulink file name is changed and the rfdc mask does not update correctly. This fix also applies to creating a copy of an rfdc block. With these changes, the rfdc mask will automatically update its name for the new copy.

The fix involved making another state variable that the function "same_state" can use to check against the current block's name and the module name. With this additional check in place, it allows the block to update the name of its internal blocks to match the new file name correctly.

Testing included making a new simulink project, making an rfdc block, saving, then closing the file. Then I changed the name of the simulink file in the matlab file tree. Then I reopened the file and checked inside the rfdc block to see if the internal block names matched the new file name.

I also tested the copy/paste function by taking the rfdc block, copying it, and then pasting it into the same simulink project. Then I checked inside the rfdc block and made sure that the internal block names had the correct name.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: rfsocs/rfdc-fix