In the MBDT toolbox, when using thefunction module, a UI error occurred and the code generation also failed.
This issue is also present in other official demos.
Is it that the S32 DS is lacking in configuration?
Hello @zuozuo,
v = evalc('ver'); lines = strsplit(v, newline); matches = lines(contains(lines, {'Model-Based Design Toolbox', 'MATLAB Version'})); disp(strjoin(matches, '\n'))
Regards,
Marius
I have replaced it in your way, and the code is displayed on the MATLAB page and generated normally. Thank you very much!
Hello, the attached image is the result of my code execution
Hello, the attached image is the latest result of my code execution. It shows on the Matlab page that the MBDT toolbox is V1.4.0, and I was able to pass the initial version verification. I can also generate BMS code using the Matlab toolbox, but this module cannot be used. Currently, my program has integrated many other MBDT modules. If the version is incorrect, I do not want to reinstall the driver library. Can I manually implement this module using MATLAB functions? Will it have any impact?
Hello @zuozuo,
winopen(fullfile(mbd_find_bms_root, 'mbdtbx_bms', 'blocks', 'bcc_775a'))
In the newly opened window, please first backup the current bms_bcc_775a.mexw64 and then replace this file with the one from the attached archive.
Please let us know if after applying the patch the functionality of the Bcc_77sa_SYS_SetMode work.
Hope this helps,
Marius
hello:
I continued to use the MBDT toolbox and found that when using the Bcc_775a_SYS_Configure module library, his MATLAB UI page was missing a parameter compared to the standard Bcc_775a_SYS_Configure function, and the code generation failed. What's going on? Can you help me?
Please refer to the attached image for detailed information
Hello @zuozuo
Thank you for the reported behavior, I was able to reproduce it on our side and now I am back with a hotfix.
Please download and unzip the patch archive and copy the 2 files as follows in different folders:
1. In MATLAB Command Window type the following command and copy the attached bms_bcc_775a.mexw64
winopen(fullfile(mbd_find_bms_root, 'mbdtbx_bms','blocks','bcc_775a'))
2. In MATLAB Command Window type the following command and copy the blocks_init.p
winopen(fullfile(mbd_find_bms_root, 'mbdtbx_bms','+mbd_bms','+nxp','+bcc_775a'))
This shall fix the reported behavior related to the Bcc_775a_SYS_Configure function.
Regards,
Marius