When I try to start a notebook after running
notebook('-setup')
by inputting
notebook
A Microsoft Visual Basic for Applications (Under Word) window pops up with the following message:
Compile error:
The code in the project must be updated for use on 64-bit systems.
Please review and update Declare statements and then mark them with
the PtrSafe attribute
I am using MATLAB R2015a (8.5.0.197613) 64-Bit, Word 2015 (15.0.4745.1001) and Windows 7 64-bit.
Is there a solution to this?
Cheers.

댓글 수: 2

Walter Roberson
Walter Roberson 2015년 9월 10일
Note: this turns out to have nothing to do with MuPAD notebooks ;-)
Joel Peterson
Joel Peterson 2016년 2월 25일
I had the exact same problem when trying to initiate 'notebook'.

댓글을 달려면 로그인하십시오.

 채택된 답변

A Thomson
A Thomson 2015년 9월 10일

0 개 추천

OK, I found the solution. I needed to change
...Declare Function...
in the window that popped up to:
...Declare PtrSafe Function...
And voila!

추가 답변 (0개)

질문:

2015년 9월 8일

댓글:

2016년 2월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by