Effacer les filtres
Effacer les filtres

Different compiling results in different pc

3 vues (au cours des 30 derniers jours)
Ander Albizu
Ander Albizu le 17 Juin 2022
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...

Réponses (1)

Aiswarya
Aiswarya le 6 Oct 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.

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by