Skip to content

Conversation

@salhus
Copy link
Contributor

@salhus salhus commented Oct 11, 2022

This PR helps in extracting the mask variables. This PR introduces a new function in the following directory,
#\source\functions\simulink\mask

To use this function,

  • Open the WEC-Sim model where the mask to be extracted resides.
  • In the argument enter the address for the mask including the Simulink model name.
  • For example: mask = ExtractMaskVariables('RM3/Float')

@salhus salhus requested a review from nathanmtom October 11, 2022 21:01
@salhus
Copy link
Contributor Author

salhus commented Oct 12, 2022

Hi @nathanmtom ,
I added the relevant documentation to the PR. This should be ready to merge. I am not sure why some checks are failing because the document built on my end as it should have been.


* Open the pertinent Simulink model,
* Run the function with the address of the block being probed as the argument,
* Explore the :code:`mask' data structure in the MATLAB workspace.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@salhus, mask needs to be delimited by two `s, i.e. :code:`mask` not :code:`mask'.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From this line in the build logs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@H0R5E Thanks so much Matthew! I appreciate the help!

@nathanmtom
Copy link

The checks are now passing and will move forward with merging.

@nathanmtom nathanmtom merged commit 69d7894 into WEC-Sim:dev Nov 21, 2022
@salhus salhus deleted the ExtractMaksVariable branch May 30, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants