function sysMexCompile(codegenDir, outputName, functionNames, exampleArgs, debug)
% matlab.system.sysmex.internal.sysMexCompile Undocumented internal function
% Copyright 2019 The MathWorks, Inc.
% Reentrant code must be disabled to prevent changes to the
% API of the generated function when the MATLAB function
% contains persistent variables.
fcopts = coder.internal.FeatureControl;
fcopts.ReentrantCode = false;
if (debug > 1)
fcopts.Developer = 1;
end
matlab.system.sysmex.internal.entryPointNames(functionNames);
copts = coder.MexCodeConfig;
copts.PostCodeGenCommand = 'matlab.system.sysmex.internal.preBuildUpdateSymbolVisibility(buildInfo)';
% Use the undocumented output argument to inspect errors.
args = {'callfcn', 'emlckernel', 'codegen', '-d', codegenDir, ...
'-o', fullfile(codegenDir, outputName + "." + mexext), ...
'-config', copts, '-feature', fcopts};
if debug > 0
disp(['Code generated in: ' codegenDir]);
args = [args, '-g'];
end
if debug > 1
args = [args, '-launchreport'];
end
assert(numel(functionNames) == numel(exampleArgs));
for n = 1:numel(functionNames)
args = [args, functionNames{n}, '-args', exampleArgs(n)]; %#ok<AGROW>
end
addpath(codegenDir);
rmPath = onCleanup(@()rmpath(codegenDir));
% Suppress command line output about failed code generation.
[~, report] = evalc('emlcprivate(args{:});');
try
coder.internal.emcError('sysmex', report);
catch me
if debug
rethrow(me);
else
error(message('MATLAB:system:Accelerator:unsupportedSystem'));
end
end
end
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
fft (2).zip (78个子文件)
system
sfun
+matlab
+system
SFunSystem.p 1KB
en
SFunSystem.m 767B
Contents.m 3B
coreblocks
+matlab
+system
CoreBlockSystem.p 999B
en
CoreBlockSystem.m 788B
Contents.m 3B
simulink_block
+SLOOP
+internal
slCustomizedCrashWindowApp.mlapp 17KB
slLaunchCustomizedCrashWindow.m 399B
simulink
matlabsystemexamples.m 272B
@SLSearchableDialog
schema.p 103B
@DDG_SearchableDialogBase
schema.p 581B
setupSearchableDialogData.p 130B
DDG_SearchableDialogBase.p 123B
getDialogSchema.p 95B
applyFilter.p 309B
getBaseDialogStruct.p 200B
refreshResultsImp.p 421B
showCompleteList.p 127B
iniDialogData.p 739B
dialogCallback.p 261B
createSearchableParamsContainer.p 2KB
dialogCloseCallback.p 187B
dialogPreApplyCallback.p 627B
iniDynData.p 212B
str2logic.p 163B
@sysobjdialog
schema.p 97B
@BlockDynDialog
onClose.p 140B
BlockDynDialog.p 200B
schema.p 597B
propSetSystemObject.p 541B
getDialogSchema.p 313B
callAction.p 116B
propSet.p 551B
getDialogButtonSets.p 241B
postApplyCallback.p 184B
+matlab
+system
+ui
SimulinkPreviewDescriptor.p 2KB
ParamUtils.p 1KB
ImplementSystemObjectUsingMask.p 6KB
SimulinkDescriptor.p 2KB
getUDTMaskType.p 1KB
PropertySchema.p 659B
NewSystemObjectAction.p 344B
getReservedSimulinkBlockParameterNames.p 120B
getSystemObjectMaskParameters.p 2KB
getUDTRowStruct.p 824B
getBlockPropertyGroups.p 2KB
DialogSchema.p 4KB
hasOwnAutoscaler.p 242B
Adapter.p 2KB
Contents.m 3B
coder
coder_sysobj_get.m 357B
+matlab
+system
getStringSetForCodegen.p 357B
isTunablePropForCodegen.p 346B
getStateTypeForCodegen.p 306B
+coder
isOutputUpdate.p 266B
customizesSampleTime.p 271B
ProcessConstructorArguments.p 1KB
copyProps.p 324B
isWrappedSFunObject.p 334B
System.p 558B
SampleTimeSpecification.p 2KB
getSysObj.p 293B
hasUserImplementation.p 495B
getDynamicEnumerationPropertyNames.p 256B
SystemCore.p 10KB
customizesPropagation.p 279B
getWrappedSFunObjectName.p 440B
SystemProp.p 4KB
getSourceSetState.p 297B
getSourceSetInfo.p 526B
+mixin
+coder
FiniteSource.p 350B
getPropertyTypeForCodegen.p 467B
+hdlcoder
System.p 886B
SystemCore.p 1KB
Contents.m 3B
accelerator
+matlab
+system
+sysmex
+internal
preBuildUpdateSymbolVisibility.m 532B
entryPointNames.m 250B
sysMexCompile.m 2KB
共 78 条
- 1
资源评论
lookpoi
- 粉丝: 3
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- #P0015. 全排列 超级简单
- pta题库答案c语言之排序4统计工龄.zip
- pta题库答案c语言之树结构7堆中的路径.zip
- pta题库答案c语言之树结构3TreeTraversalsAgain.zip
- pta题库答案c语言之树结构2ListLeaves.zip
- pta题库答案c语言之树结构1树的同构.zip
- 基于C++实现民航飞行与地图简易管理系统可执行程序+说明+详细注释.zip
- pta题库答案c语言之复杂度1最大子列和问题.zip
- 三维装箱问题(Three-Dimensional Bin Packing Problem,3D-BPP)是一个经典的组合优化问题
- 以下是一些关于Linux线程同步的基本概念和方法.txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功