Invalid text character.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jenice Chen
le 25 Déc 2018
Rouvert : Walter Roberson
le 15 Jan 2019
I don't have idea why is wrong. My program showed me this error.
Maxvideo=12;
NVideo=2; % Max=13 欲讀取之檔案數量
%RVideo=[7 8];
RVideo=[4 11]; %欲讀取之檔
VL=1000; %Video length
MaxTime=VL; %NVideo * VL;
MaxCycle=7; %週期數 1 99
CL = 1000; %週期長度(sec) CycleLength
CLGreen=[8,135+8];
CLRed=[136,199];
% Cycle1=[0, 210, 405, 600, 805, 1005, 1205,1405,1605] %微調測試
%Cycle1=[1, 201, 401, 601, 801, 1001, 1201, 1401, 1601]; %週期的開始時間
%Cycle2=Cycle1 + 199; %週期的結束時間
Cycle1=[1, 751, 1501]; %週期的開始時間
Cycle2=Cycle1 + 749; %週期的結束時間
%地點A 1.x行人 2.自行車 3.機車 4.小汽車 5.小貨車 6.大貨車 7.公車 8. X計程車
%地點B 1.x行人 2.自行車 3.機車 4.小汽車 5.計程車 6.大貨車 7.公車 8. X
%地點C 1.x行人 2.自行車 3.機車 4.小汽車 5.計程車 6.貨車 7.大型車 8. 公車
%ModeGroup=int16([0, 1, 2, 3, 3, 0, 2]); %車種分類 1={2機車} 2={3小汽車 7計程車} 3={4小巴士 5公車} %ZhongXiao
ModeGroup=[4, 4, 1, 2, 2, 3, 3, 4]; %將原本8個車種分類對應到4個車種分類,1=機車 2=小車 3=大車 4=其他
%ModeGroup=[4, 4, 1, 2, 2, 3, 3, 4];
%ModeGroup=[4, 4, 1, 2, 2, 2, 3, 3];
UpdateCoordinate=1; %update the coordinate for x=RevX-x and y=RevY-y
RevX=126;
RevY=13.5;
StopLine=125;
LaneGroup=[13.5, 10.2, 7.2, 4.1, 0]; % Lane1(innermost) ---> Lane4(outer bus lane)
Error: File: ReadData_A.m Line: 20 Column: 15
Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters.
0 commentaires
Réponse acceptée
madhan ravi
le 25 Déc 2018
Maxvideo=12;
NVideo=2; % Max=13 欲讀取之檔案數量
%RVideo=[7 8];
RVideo=[4 11];%欲讀取之檔
VL=1000; %Video length
MaxTime=VL; %NVideo * VL;
MaxCycle=7; %週期數 1 99
CL = 1000; %週期長度(sec) CycleLength
CLGreen=[8,135+8];
CLRed=[136,199];
% Cycle1=[0, 210, 405, 600, 805, 1005, 1205,1405,1605] %微調測試
%Cycle1=[1, 201, 401, 601, 801, 1001, 1201, 1401, 1601]; %週期的開始時間
%Cycle2=Cycle1 + 199; %週期的結束時間
Cycle1=[1, 751, 1501]; %週期的開始時間
Cycle2=Cycle1 + 749; %週期的結束時間
%地點A 1.x行人 2.自行車 3.機車 4.小汽車 5.小貨車 6.大貨車 7.公車 8. X計程車
%地點B 1.x行人 2.自行車 3.機車 4.小汽車 5.計程車 6.大貨車 7.公車 8. X
%地點C 1.x行人 2.自行車 3.機車 4.小汽車 5.計程車 6.貨車 7.大型車 8. 公車
%ModeGroup=int16([0, 1, 2, 3, 3, 0, 2]); %車種分類 1={2機車} 2={3小汽車 7計程車} 3={4小巴士 5公車} %ZhongXiao
ModeGroup=[4, 4, 1, 2, 2, 3, 3, 4]; %將原本8個車種分類對應到4個車種分類,1=機車 2=小車 3=大車 4=其他
%ModeGroup=[4, 4, 1, 2, 2, 3, 3, 4];
%ModeGroup=[4, 4, 1, 2, 2, 2, 3, 3];
UpdateCoordinate=1; %update the coordinate for x=RevX-x and y=RevY-y
RevX=126;
RevY=13.5;
StopLine=125;
LaneGroup=[13.5, 10.2, 7.2, 4.1, 0]; % Lane1(innermost) ---> Lane4(outer bus lane)
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Entering Commands dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!