Borrar filtros
Borrar filtros

Different compiling results in different pc

3 visualizaciones (últimos 30 días)
Ander Albizu
Ander Albizu el 17 de Jun. de 2022
Respondida: Aiswarya el 6 de Oct. de 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...

Respuestas (1)

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

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by