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 comentarios

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

Iniciar sesión para comentar.

 Respuesta aceptada

A Thomson
A Thomson el 10 de Sept. de 2015

0 votos

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

Más respuestas (0)

Etiquetas

Preguntada:

el 8 de Sept. de 2015

Comentada:

el 25 de Feb. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by