VBAの機能をMATLABで実行する
3 次查看(过去 30 天)
显示 更早的评论
マクロで使用していた行の始まりと終わりを見つけるプログラムをMATLABに適応しようと考えています。
以下マクロで組んでいたプログラムです。
===================================================================================
Dim Target As Range, Selectcell As Range
On Error Resume Next
Set Selectcell = Application.InputBox _ ("Select LASIS", Type:=8)
If Err.Number <> 0 Then Exit Sub
l_fst = Selectcell.Row
l_clmn = Selectcell.Column
For l_TempR = l_first To 3000
If IsEmpty(Cells(l_TempR, l_clmn).Value) Then
l_TempC = l_TempR - 1
Exit For
End If
Next l_TempR
l_lst = l_TempC
u = l_clmn
=======================================================================================
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Export to MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!