MATLAB Compiler (SDK) で LogicAnalyzer を動かそうと思っても、名前dsp.LogicAnalyzerを解決できません のエラーになる
Ältere Kommentare anzeigen
dsp.LogicAnalyzer を matlab compiler でコンパイルしたアプリで実行したいと考えています。
公式リファレンスに記載されているコードを実行したところ、MATLAB上では動作しますが、
コンパイルした後のexeで実行しようとしても
「前dsp.LogicAnalyzerを解決できません」
となってしまいます。
LogicTest.m
function scope = LogicTest()
%UNTITLED この関数の概要をここに記述
% 詳細説明をここに記述
scope = dsp.LogicAnalyzer('NumInputPorts',4,'DisplayChannelFormat','Digital');
scope.TimeSpan = 12;
modifyDisplayChannel(scope,1,'Name','Index','Radix','Unsigned decimal');
modifyDisplayChannel(scope,2,'Name','Fi_hex','Radix','Hexadecimal');
modifyDisplayChannel(scope,3,'Name','Fi_bin','Radix','Binary');
modifyDisplayChannel(scope,4,'Name','Fi_actual','Radix','Signed decimal');
for ii = 1:20
fival = fi((ii-1)/16,0,4,4);
scope(ii,fival,fival,fival);
end
SampleScript.m
close all;
clear;
%% main
scope = LogicTest();
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 変換 finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!