Different compiling results in different pc

3 visualizzazioni (ultimi 30 giorni)
Ander Albizu
Ander Albizu il 17 Giu 2022
Risposto: Aiswarya il 6 Ott 2023
In my company we use Matlab/Simulink to generate code and we use GIT to control it. I have developed a sw component which uses a simulink block called "Extract Bits" and the size of variables are set with a symbolic variable. If you set the command "showblockdatatypetable" you can get a table with which blocks are supported to generate code and which blocks are allowed to use with a symbolic propagation. There I can see that this "Extract bits" block is not allowed.
I set a commit and in my PC with windows 10 I can get a code from the model, but my partners that are located in the same commit they can`t.
I want to know why my pc is not working correct. I have test deleting all mathworks files in User/AppData folder, deleting cache folder and build folder from matlab project...I don´t know what more I can test. Please help me!
PD: My partners and me have the same toolboxes installed, same windows version, I think everything is same. I don´t know if there is a command to export all matlab configuration to compare 2 files...

Risposte (1)

Aiswarya
Aiswarya il 6 Ott 2023
Hi Ander,
I see that you observed an inconsistency in the symbolic dimension support behavior shown by the Extract Bits block and the Simulink Block Data Type Support table displayed by the command showblockdatatypetable. Actually, the Extract Bits block supports symbolic dimensions for both simulation and code generation even though the table states that it does not. I was able to generate code with symbolic dimensions for the block as well.

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by