Error trying to use notebook

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 Comments

Note: this turns out to have nothing to do with MuPAD notebooks ;-)
I had the exact same problem when trying to initiate 'notebook'.

Sign in to comment.

 Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!