Different compiling results in different pc

1 次查看(过去 30 天)
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...

回答(1 个)

Aiswarya
Aiswarya 2023-10-6
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.

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by