close
Blogtrottr
批踢踢實業坊 ask 板
 
[請問] Matlab textread讀值問題
May 25th 2014, 23:37, by bbogod

作者bbogod ()

看板ask

標題[請問] Matlab textread讀值問題

時間Sun May 25 23:37:11 2014

手邊有一個table.txt,內容例如 0100-3101 以下為我寫的程式 -------------------------------------load_data=textread('table.txt','%s')a=load_data{1}0110-3101 為我所要的內容沒錯 但是我的問題是 在讀值並轉成字串之下,如何讓程式自己知道a裡面有幾個字串?! 因為我原本以為-3算一個字串,a讀出來為8個字串 沒想到因為多一個-變多一個字串 -- weltschmerz:超可愛,快轉可愛版 02/25 08:32 l1l1l1l1:可愛版是什麼鬼?不會真有這種版吧? 02/25 09:20 ※ l1l1l1l1:轉錄至看板 cute 02/25 12:18 l1l1l1l1:幹,還真的有這種版 02/25 12:18 ntitgavin:那是中國科技大學版 02/25 12:41 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.172.185.177 ※ 文章網址: http://www.ptt.cc/bbs/ask/M.1401032234.A.8B2.html bbogod:轉錄至看板 MATLAB 05/25 23:37

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜

    dooneroe 發表在 痞客邦 留言(0) 人氣()