Is it correct to use NVM (write block) like this?

1) I want to save MEM_SM_MirrorPosMemoryHori,vert in Write block. Can I model it like in the picture?
2) The output of data store read is [11x8], and the input of write block is [1x1]. How to solve the following error?

Answers (1)

Hi,
I understand that you're encountering an error when connecting a datastore block of dimensions [11x8] to a write block. To resolve this issue, you should change the block parameter called "Argument Specification" to int8(ones(11,8)). By default, this parameter is set to unit8(1).
Refer to the "Argument Specification" subsection in the Parameters section in the link below for better understanding:
Hope it helps!

Categories

Products

Release

R2023b

Asked:

on 22 May 2024

Answered:

on 18 Sep 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!