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

5 visualizzazioni (ultimi 30 giorni)
진우우
진우우 il 22 Mag 2024
Risposto: Manish il 18 Set 2024
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?

Risposte (1)

Manish
Manish il 18 Set 2024
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!

Categorie

Scopri di più su AUTOSAR Blockset in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by