matlab 定义宏,simulink.signal如何宏定义??
如题目所示,模块的输出端口如 附件所示,输出端口是simulink.signals对象,然后希望对输出端口进行#define 操作与MCU 的端口绑定,如下所示:#define led1onGpioDataRegs.GPBCLEAR.bit.GPIO60#define led1off GpioDataRegs.GPBSET.bit.GPIO60 ...