从 MATLAB R2019b 开始,可以使用这个 API,请参考:
Please run the following command in the command window of MATLAB R2019b to access the release-specific documentation:
>> web(fullfile(docroot, 'simulink/slref/simulink.matlabfunction.matlabfunctionconfiguration.html'))
通过 MATLABFunctionConfiguration 控制 MATLAB Function 模块的属性。
在之前的旧版本,可以参考例子:
Please run the following command in the command window of MATLAB R2019a to access the release-specific documentation:
>> web(fullfile(docroot, 'simulink/ug/creating-an-example-model-that-uses-a-matlab-function-block.html'))
Please follow the below link to search for the required information regarding the current release: