Problems with readtable within parfor on R2018b for Win 64

2 ビュー (過去 30 日間)
Andrew Bell
Andrew Bell 2018 年 10 月 25 日
回答済み: Jeremy Hughes 2019 年 11 月 1 日
I am trying to run a model I've built and used successfully on my Mac for several years; I recently bought a PC with the new AMD 32-core chip and am trying to run it there.
My parfor loop is used to run many different simulations at the same time, all of which use readtable on the same set of input spreadsheets in order to read input data to the simulation.
The simulation is continually crashing on the readtable lines, with 'internal error' or other messages.
I know that the excel interaction is different on a PC than a Mac, but is there a different program structure I should be applying? Should I use readtable differently, or not at all?
  1 件のコメント
Andrew Bell
Andrew Bell 2018 年 10 月 25 日
if context is helpful for this, the code is at:
https://github.com/andrew-nyu/migration

サインインしてコメントする。

回答 (1 件)

Jeremy Hughes
Jeremy Hughes 2019 年 11 月 1 日
Try using READTABLE with the 'UseExcel',false parameter. (This might also be 'Basic',true in older releases.)

カテゴリ

Help Center および File ExchangeParallel Computing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by