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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

A Thomson
A Thomson am 10 Sep. 2015

0 Stimmen

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by