MATLAB ヘルプ センター
Determine if the radar scan controller object is locked
Since R2026b
t_f = isLocked(scanner)
t_f = isLocked(scanner) returns a value of true if the radar scan controller object scanner is locked, and false otherwise.
t_f
scanner
true
false
example
collapse all
Create an electronic raster scan controller object with default values.
txScnr = radarScanController("Electronic","Raster")
txScnr = ElectronicRasterScanner with properties: AzimuthLimits: [-90 90] ElevationLimits: [-5 5] ScanDuration: 1 StepAngle: 1 NumBars: 2 Alignment: "Azimuth" DwellTimeSource: "Auto" ScanAngle: [-90 -5] ScanTime: 0
Advance the scan position to a time of 10 seconds and return the corresponding scan angle.
txAng = scan(txScnr,10)
txAng = 1×2 -90 -5
Check to see if the current scan frame is complete.
isDone = isScanDone(txScnr)
isDone = logical 0
Check to see if the object is locked.
t_f = isLocked(txScnr)
t_f = logical 1
Release the scan controller object.
release(txScnr);
Update the scan duration to be 1/2 the current duration.
txScnr.ScanDuration = txScnr.ScanDuration/2
txScnr = ElectronicRasterScanner with properties: AzimuthLimits: [-90 90] ElevationLimits: [-5 5] ScanDuration: 0.5000 StepAngle: 1 NumBars: 2 Alignment: "Azimuth" DwellTimeSource: "Auto" ScanAngle: [-90 -5] ScanTime: 10
Scan controller object (MechanicalRasterScanner, MechanicalSectorScanner, ElectronicRasterScanner, or ElectronicSectorScanner) generated by radarScanController.
MechanicalRasterScanner
MechanicalSectorScanner
ElectronicRasterScanner
ElectronicSectorScanner
radarScanController
Returns a value of true or 1 if the radar scan controller object is locked, and false or 0 otherwise.
1
0
Introduced in R2026b
radarScanController | scan | isScanDone | coverageConfig | release | bistaticTransmitter | bistaticReceiver
scan
isScanDone
coverageConfig
release
bistaticTransmitter
bistaticReceiver
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ