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 CenterFile Exchange에서 Parallel Computing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by